Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.5, 5.13.1
-
-
a78d66743171557d79b16c08be775e3ac15bb4ef (qt/qtbase/5.15)
Description
Menus beside a button with a menu pop up never over the mouse cursor under MS Software.
In Qt a menu from a QToolButton appears on "strange" positions.
Sometimes the menu pops up and the mouse is somewhere in the middle of the
menu. If the menu is placed where the current mouse cursor is selecting an
item at the same time it opens up, you already select this item when you
release the mouse. The menu gets closed immediately and triggered the QAction.
You can reproduce if you move you mouse 1 pixel while clicking and releasing
the toolbutton menu-button.
Not able to reproduce this behavior with any widget in MS software. The menu is
always placed outside the mouse so that a selection needs another user
movement of the mouse after opening the menu.
Steps to reproduce:
- Move app to bottom right screen corner
- Open toolbutton menu, ESC out, repeat
- Observe menu is over mouse (which does not happen when there is enough space)
Attachments
Issue Links
- duplicates
-
QTBUG-58015 QToolButton menu placed differently if signal aboutToShow has client
- Closed
- resulted in
-
QTBUG-84462 QToolButton popup menu only shows on primary screen
- Closed