Modal forms remains hidden when main form clicked

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
guillotmarc
Newbie
Newbie
Posts: 2
Joined: Tue Jul 15, 2008 7:10 am

Modal forms remains hidden when main form clicked

Post by guillotmarc »

I'm sorry if this question has been answered several times in the past. I have used Search option and I have not found any reference, and I have not yet found it in your bugzilla.

My problem appears in all Wine versions tested (from 0.9.x to 1.1.1).

When my application (I develops a Delphi Win32 MDI application that runs perfectly in Wine) raises a Modal Form or Modal Message (using API MessageBox for sample), the users can still make a click to Main Form (that's not doable in Windows), so Main Form goes to front and Modal Form or Modal Message goes hidden back the Main Form.

That's very confusing to the users who accidentally hides a Modal Form because the Modal Form is still active, so they cannot do absolutely nothing in Main Form until they release the Modal Form, but Modal Form is hidden (they need to bring it to front and release it).

¿ There is anything I can do in may application to avoid this abnormal behavior ?, to make Modal Forms to run like in MS Windows (you can't change focus from a Modal Form to a no-Modal Form).

Thank you.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Modal forms remains hidden when main form clicked

Post by vitamin »

guillotmarc wrote:¿ There is anything I can do in may application to avoid this abnormal behavior ?, to make Modal Forms to run like in MS Windows (you can't change focus from a Modal Form to a no-Modal Form).
No you can't do much with the application itself. It's the bug and a feature in Wine.
guillotmarc
Newbie
Newbie
Posts: 2
Joined: Tue Jul 15, 2008 7:10 am

Post by guillotmarc »

Thanks for your fast answer.

¿ So, as a feature, I can't expect that will be fixed in a near future ?.
Locked