Bad visual effects on sheet window when switching apps

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Bad visual effects on sheet window when switching apps

Post by paulclaude » Thu Jan 31, 2013 11:45 am

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

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Bad visual effects on sheet window when switching apps

Post by Klaus » Thu Jan 31, 2013 1:35 pm

Hi Paul,

1. what version of Livecode?
2. what platform?
3. what OS system version?
4. what did you try "on resumestack"?
Sigh... 8)


Best

Klaus

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Re: Bad visual effects on sheet window when switching apps

Post by paulclaude » Thu Jan 31, 2013 2:17 pm

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.
Image

Switching out and in Livecode IDE, give you this:
Image

Thanks ;-)

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Bad visual effects on sheet window when switching apps

Post by Klaus » Thu Jan 31, 2013 2:42 pm

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

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Re: Bad visual effects on sheet window when switching apps

Post by paulclaude » Thu Jan 31, 2013 3:12 pm

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

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Bad visual effects on sheet window when switching apps

Post by jmburnod » Thu Jan 31, 2013 3:51 pm

Hi Paul,
I dowloaded "Spirited Away" but i can't open it. I use OSX 10.6.8
Best regards
Jean-Marc
https://alternatic.ch

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Bad visual effects on sheet window when switching apps

Post by jmburnod » Thu Jan 31, 2013 3:56 pm

Hi Paul,
Forget my last message, I just see the icon on the menubar
Best regards
Jean-Marc
https://alternatic.ch

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Bad visual effects on sheet window when switching apps

Post by Klaus » Thu Jan 31, 2013 4:42 pm

And what has "Spirited away" to do with this problem (that I do not have)? :shock:

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Re: Bad visual effects on sheet window when switching apps

Post by paulclaude » Thu Jan 31, 2013 5:53 pm

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

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Bad visual effects on sheet window when switching apps

Post by Klaus » Thu Jan 31, 2013 6:14 pm

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 8)

Please send a mail to: bugs@runrev.com

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Re: Bad visual effects on sheet window when switching apps

Post by paulclaude » Thu Jan 31, 2013 6:38 pm

Yes, Klaus, that's true. But would be interesting to discover anyway a method to refresh the display on resumeStack....

Greetings

Paul

Post Reply