Public bug reported:

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

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787946

Title:
  Unity ignores application's attempt to disable menu item.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to