Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.3, 6.7
-
None
Description
In the attached demo applciation:
- Try doing a pinch gesture with two fingers or rotate, you should observe under the Application Output the debug messages about the touch events
- Now click "Press Me" button and a popup should show up.
- Dismiss it by clicking away from it (click within the widget, not outside otherwise bug won't be reproduced, also don't press ESC).
- Once the popup is dismissed, try doing step 1, the touch events are no longer propagated to the widget. And it is no longer possible to receive them again, without destroying the window first.
PS: I did some investigating as to why this could be happening, I think in https://github.com/qt/qtbase/blob/dev/src/widgets/kernel/qapplication.cpp#L3218-L3239 QApplication::notify we register/unregister window on Enter and Leave events and this is not properly balanced when the popup is created, specifically due to this check resulting in Enter event failing to propagate and balance things out.
Attachments
Issue Links
- relates to
-
QTBUG-44619 No mouse EnterEvent and LeaveEvent when multiple widgets with Qt::Popup flag set are shown.
- Reported
-
QTBUG-51663 [REG] Cocoa: Enter event not delivered after showing and hiding context menu when mouse isn't over the menu
- Reported
- resulted from
-
QTBUG-78970 REG 5.9.4 => 5.12.4 setAutoRaise not working on Mac
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-128453 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
587409,1 | WIP troubleshoot enter/exit from popup to main window | dev | qt/qtbase | Status: NEW | -2 | 0 |