** Also affects: appmenu-qt (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  QMenu::aboutToShow doesn't send on use appmenu

Status in appmenu-qt5:
  New
Status in appmenu-qt package in Ubuntu:
  New

Bug description:
  Minimal example:

  #include <QtCore>
  #include <QtWidgets>

  int main( int argc, char** argv )
  {
      QApplication a( argc, argv );
      QMainWindow w;

      QMenu* m = w.menuBar()->addMenu( "File" );
      m->addAction( "New" );
      QObject::connect( m, &QMenu::aboutToShow, [](){ qDebug() << 
"aboutToShow"; } );

      w.show();
      return a.exec();
  }

  If call 'w.menuBar()->setVisible( true );' to force show menubar
  inside a window than 'aboutToShow' will send.

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1449373/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to