-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick Popup: ignore unhandled events
QQuickPopups event handling code deals with two concepts: the handling of events by the popup (accepting the event and becoming the grabber for the relevant device in case of press events), and the blocking of events to other items. For a plain popup that's ok, but events that aren't blocked by the popup must be ignored by it to that they propagate correctly. QQuickDrawer, which subclasses QQuickPopup and overrides the blocking logik (via QQuickDrawerPrivate::blockInput), conflates those two concepts, which is not ok as QQuickDrawer is interactive and may accept an event even if the event is not modally blocked. Press events that go to the content item of the drawer are never blocked, but must get accepted so that the drawer receives the following mouse moves. Fixes: QTBUG-93649 Pick-to: 6.3 6.2 Change-Id: I254ccd843dc0250d334abb9b1062e7feffb86beb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
- Loading branch information
Showing
3 changed files
with
87 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters