Modal dialogs getting out of focus

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Kashpirovski
Newbie
Newbie
Posts: 2
Joined: Sun Mar 25, 2012 4:25 pm

Modal dialogs getting out of focus

Post by Kashpirovski »

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
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi Kashpirovski,

please upgrade wine to 1.4 or 1.5.0 and post terminal output.
Kashpirovski
Newbie
Newbie
Posts: 2
Joined: Sun Mar 25, 2012 4:25 pm

Post by Kashpirovski »

Just tested it against the latest Wine 1.4 and 1.5 and the problem seems to persist. I've also uploaded another example created with Delphi that you could possibly test. It is located here http://bugs.winehq.org/attachment.cgi?id=39572

P.S. I am not sure that I get what you mean by
and post terminal output
I get no error messages in terminal after running wine Project1.exe in it.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

I see the bug you filed has been marked as a duplicate of http://bugs.winehq.org/show_bug.cgi?id=26503

There are a couple of workarounds mentioned in that bug report.
Locked