← Back to team overview

dx-packages team mailing list archive

[Bug 1487707] [NEW] QMenu aboutToShow signal is not sent

 

Public bug reported:

On Ubuntu 15.04 dynamic menu changes are not reflected in QT4/QT5 applications.
Attached sample application enables/disables menu items before menu is shown, but this does not work when global menu is used.
It can be compiled by both qmake(qt5) and qmake-qt4. Since aboutToShow signal is not delivered to the application, it can not dynamically adjust QMenu fields.

Moreover I noticed that env. varible APPMENU_DISPLAY_BOTH=1 works only
with qt4 applications.

indicator-appmenu: 15.02.0+15.04.20150302-0ubuntu1
appmenu-qt: 0.2.7+14.04.20140305-0ubuntu2
appmenu-qt5: 0.3.0+15.04.20150121-0ubuntu3

** Affects: indicator-appmenu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: abouttoshow qmenu

** Attachment added: "Reproducible test case"
   https://bugs.launchpad.net/bugs/1487707/+attachment/4450736/+files/abouttoshow.tgz

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-appmenu in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1487707

Title:
  QMenu aboutToShow signal is not sent

Status in indicator-appmenu package in Ubuntu:
  New

Bug description:
  On Ubuntu 15.04 dynamic menu changes are not reflected in QT4/QT5 applications.
  Attached sample application enables/disables menu items before menu is shown, but this does not work when global menu is used.
  It can be compiled by both qmake(qt5) and qmake-qt4. Since aboutToShow signal is not delivered to the application, it can not dynamically adjust QMenu fields.

  Moreover I noticed that env. varible APPMENU_DISPLAY_BOTH=1 works only
  with qt4 applications.

  indicator-appmenu: 15.02.0+15.04.20150302-0ubuntu1
  appmenu-qt: 0.2.7+14.04.20140305-0ubuntu2
  appmenu-qt5: 0.3.0+15.04.20150121-0ubuntu3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-appmenu/+bug/1487707/+subscriptions


Follow ups