The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Caution ! DON'T trust the OmniGraffle screen .... Thread Tools Search this Thread Display Modes
Applies to:
Product: OmniGrafflePro-5.3
Tag: OmniGraffle/5.3.6/GM-v138.33
  1. Create a fresh OmniGraffle document,
  2. and create a single shape in it, reading, for example, "The CEO is a genius"

Now run the following script (perhaps on an unsuspecting colleague's machine ?)

tell application id "OGfl"
	tell canvas of front window
		set last word of text of first shape to "fool"
	end tell
end tell
No change ...

The screen still looks supportive of the CEO - you can start your presentation with confidence ...

View > Start Presentation

Horror ! The screen was deceiving you ...

If you now end the presentation, and experiment with zoom levels, you will find that the original zoom level still sings the praises of the CEO, while others levels of zoom are more sceptical ...

Moral ... the OmniGraffle screen can not be relied on to display the real state of your data ...

Attached Thumbnails
Click image for larger version

Name:	Fool.png
Views:	1308
Size:	8.8 KB
ID:	2249   Click image for larger version

Name:	Gaon.png
Views:	2093
Size:	8.1 KB
ID:	2250  

Last edited by RobTrew; 2012-02-09 at 05:11 AM..
Just to link things up, this is related to the Peter Pan bug, and more generally to the Scylla and Charybdis bugs. (Applescript doesn't see GUI edits, and GUI doesn't show Applescripted edits)

What happens if you save the document (no outstanding edits), then do you presentation, zoom, whatever ?
Originally Posted by DerekAsirvadem View Post
What happens if you save the document (no outstanding edits), then do you presentation, zoom, whatever ?
I think you will find that saving, alas, is not enough ...

It's quite a deep bug, and even if you save, the original zoom level will still show the wrong text. (Presentation view, and other zoom levels, will show the right text, but ending the presentation or returning to the original zoom level will put the wrong text back on the screen, even after a save).

Only closing and reopening the document, or further manual edits to the affected shape(s), will correct the display.
I am not finding anything of the sort (and I am not having a go at your wording!). Of all the apps on my Mac, I probably use OG the most, and I have not found the bug. Obviously, that does not suggest that it does not exist, clearly you have found it. I have used apps with AppleScript, but I am nowhere near your level of proficiency.

Only one single crash in seven years of heavy use. Which of course means that I trust the OG display completely.

The example you have provided is fair enough for the purpose of demonstrating the problem/bug. But what is the relevance ? Eg. I can change "genius" to "fool" without using an AppleScript code segment, and that method is much faster as well; so there must be some significance in your trying to change it via AS (and failing), and the relevance is probably greater than the example-for-demo-purposes.

Of course it is an AppleScript integration issue, that most of us will not see in our entire lifetimes. I do not see how it identifies an architectural flaw, just a serious bug in the AS integration.

The peter pan bug is more of the peter principle to me. It is too small to worry about and the workaround is simple enough; given the bugs in other Mac apps, if this is the worst of OG, it really is a very tight product.

It is good that you have warned us. You probably know that this for the bug to be addressed appropriately, you need to send a bug report from OG, this forum is not the correct avenue.

Last edited by DerekAsirvadem; 2012-03-16 at 02:14 AM.. Reason: Added clarity
I think that this is quite serious as if I have understood correctly an Applescript is used to collect information for display as part of an OG document it means that the display is not to be trusted.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
OF won't always trust my own SSL cert.. handsonmac OmniFocus 1 for Mac 0 2012-09-05 10:06 PM
Screen capture (screen grab) weirdness with Cutout o4tuna OmniDazzle 6 2011-10-21 02:18 AM
Extreme Caution: 1.8.2 Upgrade problem - Data unreadable RobTrew OmniFocus 1 for Mac 6 2010-11-25 03:15 PM
Remove Caution Tape?? gotheos OmniFocus 1 for Mac 8 2008-09-19 01:06 PM
how to trust self signed certificates ftf OmniFocus for iPhone 5 2008-07-13 09:48 PM

All times are GMT -8. The time now is 07:27 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.