dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #34234
[Bug 1449373] Re: QMenu::aboutToShow doesn't send on use appmenu
** 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