Le 15/11/2012 13:17, Vadim Zeitlin a écrit : > The relevant code inside wxWidgets is in > http://trac.wxwidgets.org/browser/wxWidgets/trunk/src/gtk/dialog.cpp#L102 > and uses gtk_window_set_transient_for() and gtk_window_set_modal() which > doesn't seem to be enough when using Ubuntu global menu bar. Presumably > gtk_dialog_run() works (otherwise more people would have complained > about this already) but it's not flexible enough to be used in > wxWidgets. > I looked at dialog.cpp: I added the patch 'if (wxOpenModalDialogsCount) return(0);' at the beginning of ShowModal() and this effectively stops duplicate dialogs being issued from the menu. It does not stop issuing wxMessageBox when a dialog is displayed though.
I dont know what to look for otherwise in this file. raanan -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/1078694 Title: Modal dialog broken on Unity To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1078694/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~compiz Post to : [email protected] Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp

