Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
4.8.6, 4.8.x, 5.8
-
None
-
Linux CentOS 6.x.
-
a78d66743171557d79b16c08be775e3ac15bb4ef (qt/qtbase/5.15)
Description
When the signal aboutToShow of a menu associated to a QToolButton has registered receivers, the popup menu is not placed at the same place than when there is no receivers.
With receivers, the menu popups just bellow the mouse, which selects the action at cursor position. The menu then disappears when the mouse button is released. The menu is then very difficult to use.
Without receivers, the menu does not appear under the mouse cursor and is not closed when the mouse button is released.
The code in QToolButtonPrivate::popupTimerDone() uses a different size hint if signal aboutToShow has receivers or not.
Attachments
Issue Links
- is duplicated by
-
QTBUG-78966 Inconsistent Menu behavior difference between Microsoft and Qt
- Closed