Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0
-
None
-
debian 8 ( gnome 3.14 )
debian 9 ( gnome 3.22.2 )
Description
issue has been caught in debian 8 ( gnome 3.14 ) and debian 9 ( gnome 3.22.2 )
Test case:
- run app
- summon notification area ( super + M )
- click right button on icon in tray ( the menu will appear )
- click left button on desktop to lose focus ( the menu will disappear and notification area to )
- summon notification area again and click right button on icon in tray ( nothing will happen )
QSystemTrayIconSys catch MouseButtonPress, ContextMenu first time and does not second so this code doesn't invoke:
void QSystemTrayIconSys::mousePressEvent(QMouseEvent *ev)
{
QPoint globalPos = ev->globalPos();
#ifndef QT_NO_CONTEXTMENU
if (ev->button() == Qt::RightButton && q->contextMenu())
q->contextMenu()->popup(globalPos);
#endif
...
Attachments
Issue Links
- relates to
-
QTBUG-59277 Closing a window on press leaves pressed state on
-
- Closed
-