Bad visual effects on sheet window when switching apps
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 121
- Joined: Thu Mar 27, 2008 10:19 am
Bad visual effects on sheet window when switching apps
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
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
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
1. what version of Livecode?
2. what platform?
3. what OS system version?
4. what did you try "on resumestack"?
Sigh...

Best
Klaus
-
- Posts: 121
- Joined: Thu Mar 27, 2008 10:19 am
Re: Bad visual effects on sheet window when switching apps
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
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
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
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
-
- Posts: 121
- Joined: Thu Mar 27, 2008 10:19 am
Re: Bad visual effects on sheet window when switching apps
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
http://www.macupdate.com/app/mac/15844/spirited-away
Greetings!
Paul
Re: Bad visual effects on sheet window when switching apps
Hi Paul,
I dowloaded "Spirited Away" but i can't open it. I use OSX 10.6.8
Best regards
Jean-Marc
I dowloaded "Spirited Away" but i can't open it. I use OSX 10.6.8
Best regards
Jean-Marc
https://alternatic.ch
Re: Bad visual effects on sheet window when switching apps
Hi Paul,
Forget my last message, I just see the icon on the menubar
Best regards
Jean-Marc
Forget my last message, I just see the icon on the menubar
Best regards
Jean-Marc
https://alternatic.ch
Re: Bad visual effects on sheet window when switching apps
And what has "Spirited away" to do with this problem (that I do not have)? 

-
- Posts: 121
- Joined: Thu Mar 27, 2008 10:19 am
Re: Bad visual effects on sheet window when switching apps
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
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
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
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
-
- Posts: 121
- Joined: Thu Mar 27, 2008 10:19 am
Re: Bad visual effects on sheet window when switching apps
Yes, Klaus, that's true. But would be interesting to discover anyway a method to refresh the display on resumeStack....
Greetings
Paul
Greetings
Paul