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
For Gerrit Dashboard: QTBUG-119864 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
527735,6 | QXcbWindow::handleLeaveNotifyEvent(): Consume when leaving geometry | dev | qt/qtbase | Status: MERGED | +2 | 0 |
541023,2 | QXcbWindow::handleLeaveNotifyEvent(): Consume when leaving geometry | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
541058,2 | QXcbWindow::handleLeaveNotifyEvent(): Consume when leaving geometry | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
541062,2 | QXcbWindow::handleLeaveNotifyEvent(): Consume when leaving geometry | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
541088,2 | QXcbWindow::handleLeaveNotifyEvent(): Consume when leaving geometry | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
541092,2 | QXcbWindow::handleLeaveNotifyEvent(): Consume when leaving geometry | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |