Modal dialog broken on Unity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
appmenu-gtk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
An application, developed with wxWidgets (2.9.4), which works on Windows, MacOSX, Ubuntu-Gnome & Ubuntu-XFCE is broken when it is executed under Unity.
Essentially, the application is a wxFrame with a menu, and a menu item displays a dialog using ShowModal() (see below).
In Ubuntu-Gnome and in Ubuntu-XFCE (and Win & MacOSX), the menu is disabled as long as the dialog is displayed, which is the expected behavior.
Under Unity (Ubuntu 12.04.1 LTS & 12.10) the menu is not disabled while the dialog is displayed: each subsequent click on the menu item displays a new dialog window on top of the former dialog windows. Other active elements (buttons) on the wxFrame are disabled while the dialog is displayed, as they should be. The menu should be disabled under Unity as well.
class myFrame: public wxFrame
{
...
}
void myframe:
{
myDialog* dp = new myDialog(this);
dp->ShowModal();
}
class myDialog: public wxDialog
{
....
};
affects: | ubuntu → unity (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1078694/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]