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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/milou/-/commit/f4ec61ecb
                   |                            |8b97726192c979a2faaecdeff31
                   |                            |a427
         Resolution|---                         |FIXED
            Version|                            |6.6.0
  Fixed/Implemented|                            |
                 In|                            |

--- Comment #6 from cwo <[email protected]> ---
Git commit f4ec61ecb8b97726192c979a2faaecdeff31a427 by Christoph Wolk.
Committed on 05/02/2026 at 14:50.
Pushed by cwo into branch 'master'.

plasmoid: make tab focus work as desktop widget

When the Search widget is used on the desktop, pressing tab does not
move focus properly if there are no search results. The problem is that
tab still tries to give focus to the ResultsView, which has custom Tab
key handling that end up swallowing the event in this case. We can avoid
this by removing the ResultsView from the tab chain if empty, but this
is not a full fix - the forwarding key events from the search field to
the ResultsView that is still active now causes Backtab to be stuck
instead.

So we remove it from the tab chain and also disable the key forwarding
if there are no search results. We also move the forwarding itself from
the SearchField component to the plasmoid, as that reduces coupling and
makes the linter happy.
FIXED-IN: 6.6.0

M  +0    -1    plasmoid/SearchField.qml
M  +2    -0    plasmoid/main.qml

https://invent.kde.org/plasma/milou/-/commit/f4ec61ecb8b97726192c979a2faaecdeff31a427

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

Reply via email to