[Wine] Modal dialogs getting out of focus

Kashpirovski wineforum-user at winehq.org
Sun Mar 25 17:00:27 CDT 2012


Hello,
it is really nice to be here with the wonderful Wine community.

Modal window gets out of focus if minimized and blocks any actions in the main
window.

I've attached and example created in Delphi called Project1. It has Form1
window with action button which opens a modal dialog called Form2.
The main idea is when opened Form2 to be always on top and to be impossible to
hide it behind Form1.
However once that Form2 is opened if I minimize it, I have Form1 stealing modal
Form2's focus and Form1's window is blocked and I have no other possibility but
to kill the running program.
If I have the program running and I open the modal dialog called Form2 if I
click back on Form1 window and Form2 goes behind it I am left again with a
blocked Form1 window, but could still close the modal Form2 with Alt+F4.

I've attached and example of the project here : http://bugs.winehq.org/show_bug.cgi?id=30274

Every tip which could lead me to solving this annoying issue will be highly appreciated.

Kind regards,
Kashpirovski







More information about the wine-users mailing list