https://bugs.kde.org/show_bug.cgi?id=515863

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|                            |6.6.1
  Fixed/Implemented|                            |
                 In|                            |
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/f2e84488ed5050156f94bf948
                   |                            |541d0258a733b1e

--- Comment #4 from cwo <[email protected]> ---
Git commit f2e84488ed5050156f94bf948541d0258a733b1e by Christoph Wolk.
Committed on 23/02/2026 at 22:55.
Pushed by cwo into branch 'master'.

applets/systemtray: reset currentIndex when searching

The header in the system tray config dialog is in the same FocusScope as
the ListView itself. If there is a currentItem, Qt will try to maintain
the same item as the currentItem, which gives it focus in its FocusScope
so the search field will lose focus after every key press; otherwise it
may set it to the first item, with the same result.

Instead, clear the currentIndex before searching - this way, focus will
stick on the search field until the user presses Down arrow to
intentionally interact with the results. Maintaing the currentItem on
search does not seem necessary; if the user already has selected the
item they want to interact with, they don't need to search for it
anymore, so if they're editing the search it's reasonable to assume they
don't care about whatever happened to be selected last.
FIXED-IN: 6.6.1

M  +6    -1    applets/systemtray/qml/ConfigGeneral.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/f2e84488ed5050156f94bf948541d0258a733b1e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to