Page 1 of 1
Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 11:45 am
by paulclaude
Hi,
maybe it's a silly question, but I really can't find solutions. When a sheet or a modal window is open in my app, and I switch to another app (in the IDE or as standalone, it doesn't matter), coming back to my stack the window looks horrible, greyed and with a white strip on the top of the sheet window (focus lost?).
How can I avoid this? I've made some test using the "resumeStack" handler, but maybe I've done something wrong.
Some suggestion, please?
Thanks in advance
Paul
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 1:35 pm
by Klaus
Hi Paul,
1. what version of Livecode?
2. what platform?
3. what OS system version?
4. what did you try "on resumestack"?
Sigh...
Best
Klaus
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 2:17 pm
by paulclaude
1. 5.5.3 (but it was the same with previous versions)
2. Macintosh
3. 10.8.2 Mountain Lion (but it was the same with previous versions)
4. Open (again), show, lock & unlock screen, etc.
5. Style: Metal
6. The problem seems to occur only when automatic "hide other applications" mode is ON.
To show you an example, I've created on the fly an empty stack.
This is what you see displaying a substack as sheet.
Switching out and in Livecode IDE, give you this:
Thanks

Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 2:42 pm
by Klaus
Hi Paul,
hmm, very odd...
Same OS and LC version here:
I just made a little test stack but it looks like your first image when I switch from Livecode
to FINDER or something and then back? So no problem in this respect here.
Sorry, out of ideas...
Best
Klaus
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 3:12 pm
by paulclaude
If you want, you could test the single application mode, to replicate this problem (if you need, there's a little free app to do that, Spirited Away). And maybe you could find a "refreshing" display solution....
http://www.macupdate.com/app/mac/15844/spirited-away
Greetings!
Paul
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 3:51 pm
by jmburnod
Hi Paul,
I dowloaded "Spirited Away" but i can't open it. I use OSX 10.6.8
Best regards
Jean-Marc
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 3:56 pm
by jmburnod
Hi Paul,
Forget my last message, I just see the icon on the menubar
Best regards
Jean-Marc
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 4:42 pm
by Klaus
And what has "Spirited away" to do with this problem (that I do not have)?

Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 5:53 pm
by paulclaude
This problem appears only when Single Application Mode is enabled (This mode allows Mac OS X to show only the application that is currently in use, all other open applications and windows will be minimized into the Dock. Selecting another application from the Dock will then minimize the current application, and the new selection becomes the only thing on screen).
Spirited Away is only one of the tools available to enable the Single Application Mode on a Mac (You can obtain this also with some Terminal tweak, with Keyboard Maestro, with ASM, etc.).
Greetings
Paul
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 6:14 pm
by Klaus
Ah, I see, thanks! Sound like a bug to me.
On the other hand, if this is an OS X feature that is not enabled per default,
no wonder if this has not been discovered yet
Please send a mail to:
bugs@runrev.com
Re: Bad visual effects on sheet window when switching apps
Posted: Thu Jan 31, 2013 6:38 pm
by paulclaude
Yes, Klaus, that's true. But would be interesting to discover anyway a method to refresh the display on resumeStack....
Greetings
Paul