Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.15, 6.6.2, 6.7
-
Any touch screen device on a Linux system
Description
On any touch screen device, when a QPushButton or QToolButton is used with setMenu(), if we tap the button with a finger to open the menu, then press and hold the button (menu closes), and move the finger outside the button, the button fails to receive Leave and HoverLeave events.
This issue is similar to QTBUG-119864, which was successfully fixed for mouse interactions. However, the same problem occurs when performing this action on a touch screen device using finger gestures.
The steps to reproduce the issue are as follows:
1. Run the demo, and at this point, the button color is white.
2. Tap (press and release) the button use finger, and a menu pops up, the button color is red.
3. Press and hold the button use finger, and the menu disappears.
4. Keep the finger pressed, move the finger outside the application, and then release it, the button remains red.
Attachments
Issue Links
- relates to
-
QTBUG-119864 QPushButton or QToolButton does not receive mouse events after calling setMenu().
- Closed
For Gerrit Dashboard: QTBUG-123854 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
560994,1 | WIP debug and attempt to stop sending leave events to closed popups | dev | qt/qtbase | Status: NEW | -2 | 0 |