Comment 10 for bug 641209

Revision history for this message
Dylan McCall (dylanmccall) wrote : Re: With appmenu-gtk some menus are blacked out in VirtualBox

This seems to be a wide reaching issue. I am encountering the same thing in Bzr-Explorer. (Marked that as a duplicate). In addition, I was writing a very simple Qt application that had a MainWindow with a completely normal menu. In the MainWindow's overrided constructor, I disabled some actions right away. Later on, I enabled those actions and the menus in indicator-appmenu remained disabled no matter how much I scowled at them.

Running my Qt application, Virtualbox or Bzr-Explorer with APPMENU_DISPLAY_BOTH=1, it is easy to see these miscommunications between appmenu-qt and indicator-appmenu itself. It is clear that the system is oblivious to at least one way Qt4 applications disable their menu items.

You see the same inconsistency with the Edit›Copy menu items in qtdemo's Main Window examples (like the Application example). However, the problem only occurs with those menu items, so I wonder if that might be a different issue (perhaps related to focus).