[ wxwindows-Bugs-1750841 ] MDI serious problem on wxMac

SourceForge.net noreply at sourceforge.net
Mon Jul 23 14:28:13 PDT 2007


Bugs item #1750841, was opened at 2007-07-09 23:53
Message generated for change (Comment added) made by csomor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1750841&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: beddy (beddypw)
Assigned to: Stefan Csomor (csomor)
Summary: MDI serious problem on wxMac

Initial Comment:
(tested on wxMac 2.8.3 )
You can see this problem running the MDI sample of wxwidgets on mac.

Try to open two new windows. The selecting dialog (text/drawings) is BEHIND the mdi child windows.

If you have a full screen MDI child window, it's impossible to click on many dialogs (e.g. wxFileSelector ) and it's impossible to close the program (forced task termination is needed )

I think should be good to see this bug fix in a future release.

Bye,

Enrico

----------------------------------------------------------------------

>Comment By: Stefan Csomor (csomor)
Date: 2007-07-23 23:28

Message:
Logged In: YES 
user_id=81467
Originator: NO

I've tested things with docvwmdi sample (the mdi sample itself does not
have a dialog when selecting 'New' so I assume it is this sample that you
are using), using xcode as well as via a command line build the
WX_2_8_BRANCH does not show any of these problems when running under
10.4.10. So are you using some special configure switches ? does the 2.8.4
release or the WX_2_8_BRANCH pose the same problem ? under which OS version
are you running it ?

Thanks,

Stefan

----------------------------------------------------------------------

Comment By: JosefH (josefh)
Date: 2007-07-11 12:51

Message:
Logged In: YES 
user_id=1650440
Originator: NO

I think it can be the same problem that I have described in
[ 1600226 ] wxAUI Floating pane vs. wxDialog on Mac

My dirty solution is to change the Windowclass of floating panes before
and after modal dialogs (necessary only on MAC!).
Simplified:

WindowRef	winRef;
winRef = (WindowRef)GetFrontWindowOfClass(kFloatingWindowClass, false);
SetWindowClass(winRef, kDocumentWindowClass);

// Open your modal dialog

SetWindowClass(winRef, kFloatingWindowClass);

Regards
Josef



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1750841&group_id=9863




More information about the wx-dev mailing list