touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #04031
[Bug 787946] Re: [Qt] Unity ignores application's attempt to disable menu item.
** Changed in: unity (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/787946
Title:
[Qt] Unity ignores application's attempt to disable menu item.
Status in Application menu for Qt4:
Fix Released
Status in Unity:
Fix Released
Status in “unity” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: unity
No clue if this is the right place to file this bug, but it does seem
to be limited to Unity.
I have an application that creates a menu. There is a menu item in the
menu that frequently gets enabled / disabled. When the application
enables the menu item, everything works fine. However, disabling the
menu item isn't working. This seems to be limited to Unity since it
works in the Classic session.
Here is a simple Qt source file that demonstrates the problem:
http://pastebin.com/DF9CHps5
To compile this brief demo:
1. Make sure that the Qt development files are installed.
2. Create a new folder and stick the code in 'main.cpp'
3. Create another file in that folder named 'demo.pro' and put this in it: http://pastebin.com/Z7GRFW8t
4. Open a terminal in that directory and run 'qmake demo.pro ; make'
5. You can then run the demo with './demo'
The expected behavior is that the menu item's state matches that of
the checkbox. However, this does not seem to be the case on Unity -
although the menu item enables itself when the checkbox is checked, it
fails to disable itself when the checkbox is unchecked.
Details:
Ubuntu 11.04 64-bit
Qt 4.7.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt/+bug/787946/+subscriptions