Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.12, 5.15, 6.5.3, dev
-
KDE Neon, Linux
-
-
ec24b36d3 (dev), 39e9b6b24 (6.7), 45efad720 (6.6), f34a3e6f9 (tqtc/lts-6.5), 260d13177 (tqtc/lts-6.2), 0b726e802 (tqtc/lts-5.15)
Description
When a QPushButton or QToolButton is pressed, moved outside the button, and released, it receives MouseButtonRelease, Leave, and Release events. However, if a menu is set for the button using the setMenu method, clicking the button triggers the menu to appear, and if the button is pressed again, causing the menu to disappear, releasing the button outside the control or application, the button is not receiving any events.
This problem frequently occurs on touchscreens, resulting in a poor user experience.
The attached demo can reproduce this issue.
Attachments
Issue Links
- relates to
-
QTBUG-97951 QFrame does not always refresh hover state when QComboBox is activated
- Closed
-
QTBUG-123854 On touch screen devices, after calling setMenu(), QPushButton or QToolButton fail to receive leave events caused by finger interactions.
- Closed