Hi Jim,

Jim Hunter schrieb:
> I think you are confusing an Always-On-Top and Modal.

Indeed, there are two different concepts that should not be confused: 
*modality* is about blocking other windows, *always-on-top* is about the 
highest z-index.

I think we should take existing window managers as a reference. I tried 
this with KDE and Windows. Both put always-on-top windows on top of 
*all* other windows, even modal windows. As I stated in my previous 
post, I think this actually makes sense.

> It is always 
> possible to open another application on top of your modal window, but 
> what should not be possible is for your application-Always On Top window 
> to open a modal window that opens up under itself.

This will never happen as a window is brought to top when it is activated.

BTW, there is no such concept like "application-always-on-top". Instead, 
there are different types of modal windows: application-modal and 
system-modal (sometimes more). An application-modal window blocks the 
other windows of the same application. Since it is brought to top when 
activated and prevents other windows from being activated, it 
automatically stays on top of them.

> In your description 
> that is what would happen if I had an Always on Top window that launched 
> a modal File Open dialog, especially if the AOT window was a large 
> window.

No, then you got me wrong. A modal window can never be opened under the 
window it blocks. Clearly, this would be a lock-out situation.

> I feel modal windows should be the top most window in your 
> application. We can't control what happens in other applications only 
> what happens inside our browser window. One must keep in mind that even 
> though it looks like a Windows application, we are still just running 
> inside a browser so anything we do with windows can be topped by any 
> other application or any other browser window. All we can control is the 
> order of the windows inside our browser window, and to that end a modal 
> window should always be on top of all other of our windows.  Imagine if
> your AOT window was in the center of the screen and large and you opened 
> a modal File Open Dialog that was smaller and also popped up in the 
> center of the screen. In your scenario, the AOT window would still be on 
> top, the modal window would be underneath it and since it was modal you 
> would not be able to focus on your AOT window to move it out of the way. 
> You are in a frozen condition with a modal window that you can't get to. 
> Modal windows need to be on top of all other windows in our application.

All but always-on-top windows. That's my point ;-)

After all, always-on-top windows should be the exception rather than the 
rule and should be used with caution. Even on the desktop you can create 
weird situations using always-on-top windows that cannot be closed.

Ralf


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to