Summary: | Overview effect keyboard window navigation moves selection between invisible windows while filtering | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | TYY331 <sebastian.pb31> |
Component: | effects-overview | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | kdebugs, nate |
Priority: | NOR | Keywords: | accessibility, usability |
Version First Reported In: | 6.1.5 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/975276ef5b8aced9883460a1d296958437760c0a | Version Fixed In: | 6.3.0 |
Sentry Crash Report: |
Description
TYY331
2024-10-29 16:18:34 UTC
*** Bug 495648 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6827 Git commit 975276ef5b8aced9883460a1d296958437760c0a by Niccolò Venerandi. Committed on 01/12/2024 at 17:22. Pushed by niccolove into branch 'master'. Simplify Keys forwarding in Overview Previously, the search bar and the window heap would forward the keypresses to each other. The new version has just one forwarding statement, in the root item, that specifies the exact forwarding order (heap, searchbar, search results). According to Keys QML documentation, the order of handling of events is the following: * Item- specific key handling, e.g. TextInput key handling * Items specified in forwardTo * specific key handlers, e.g. onReturnPressed * onPressed, onReleased handlers * parent item When we type and then press arrow keys, the focus goes to the heap. When we again press an arrow key, the `forwardTo` is handled before the `onPressed` handler of the heap, and the heap has a `forwardTo` to the search box, which accepts the event and moves the cursor within the input box. By only having one forward to which clearly defines the order of handling we avoid that. M +1 -4 src/plugins/overview/qml/main.qml https://invent.kde.org/plasma/kwin/-/commit/975276ef5b8aced9883460a1d296958437760c0a |