Window server problematic ordering policy ?
Window server problematic ordering policy ?
- Subject: Window server problematic ordering policy ?
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 3 Jul 2001 18:51:29 +0200
There's a problematic situation (according to me) with windows ordering
in a situation like this one:
- An application similar to the Stock Observer one in the CoreFoundation
Sampe code
- An application similar to the Stock Market one at the same location.
the Stock observer displays a Modal Dialog when it receives a
Notification.
Windows ordering at the beginning is :
Stock Observer Window Back
Stock Market Window Front
Stock Market posts a notification
Stock Observer catches it and shows its modal dialog.
The Windows ordering is now the following one:
Stock Observer Window Back
Stock Marker Window middle
Stock Observer Dialog Front
Now you launch an application, like Mail.app:
the Windows ordering is now:
Stock Observer Window Back
Stock Marker Window middle
Mail Window middle
Stock Observer Dialog Front
To set the "good" ordering back, you need to click on the Stock Observer
Window.
I don't understand why a modal dialog can be and stay the frontmost
window in this case.
Is it the correct windows ordering policy or a bug ?