diff options
author | Santhosh Kumar <[email protected]> | 2025-06-11 14:02:36 +0200 |
---|---|---|
committer | Santhosh Kumar <[email protected]> | 2025-07-11 20:22:24 +0200 |
commit | 1aefea26e5a574dad25646d330a6b3bb943a596c (patch) | |
tree | 986be211e115b75b4c512ab70f2aed0b6131d400 /src/qmlls/qqmlgotodefinitionsupport.cpp | |
parent | 046d7ab7bf9dca1cda125109f51eca44e7aa7a23 (diff) |
The delivery agent generally accepts key events before sending them to
the quick item; the corresponding item can further accept or ignore
those events.
The reason that the user can't override the shortcut key event in the
quick text edit is that these events are marked as accepted by default
in the delivery agent, and the quick text edit also doesn't explicitly
handle the read-only case, which causes the event state to remain as
accepted.
This patch ignores the shortcut override event by default in the
delivery agent. Also, make the quick text edit to execute the
configured key handler to either accept or ignore before processing
the events. This gives the chance to execute the required shortcut
actions.
Fixes: QTBUG-136959
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ib6400f083f4e21d1b23db87b002acb1cbd4ac82b
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/qmlls/qqmlgotodefinitionsupport.cpp')
0 files changed, 0 insertions, 0 deletions