http://bugs.winehq.org/show_bug.cgi?id=23015
--- Comment #17 from Kirurgs edzis@inbox.lv 2010-06-29 05:29:33 --- Hi!
This is not exactly fixing the problem completely. I'll give an example with PL/SQL Developer.
In PL/SQL Developer when user is operating inside main program window - like invoking preferences, trying to close inner window with changes not saved, trying to invoke connect popup etc. - all popups are in front, as expected and this is good / fixed. When user clicks on close button for main window and there are changes not saved inside any of inner windows, it should give popup asking whether to save changes, these popups are still behind the main window, NOT fixed.
I think I have a clue why it's still not working, I'll give a bit more observations, maybe this helps. The reason most likely is this bug http://bugs.winehq.org/show_bug.cgi?id=15069, which is now set as fixed. After "fixing" that bug, there are two windows for every PL/SQL Developer instance. One is tiny and invisible and the other is actual program main window. I think invoking "close" on main PL/SQL Developer window sends close to that invisible small window and for that popups are not handled correctly. Also, as I mentioned there are two windows for every PL/SQL Window and sometimes that small window get visible. I can't tell exactly how, but it does and when it does, I can stretch it and it's empty. This might be related to minimizing and switching desktops. Sometimes PL/SQL Dev window goes along with desktop switch, eg. it appears on desktop which I switch to. This behavior applies to kwin (KDE4) as well as metacity, except I'm not sure about desktop switch and PL/SQL Dev window movement along it.
Hopefully this helps. If this was not appropriate in this bug, I'm sorry, please feel free to copy this to correct one.
regards Eduards