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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/milou/-/commit/f4ec61ecb |ma/milou/-/commit/a364b1569
                   |8b97726192c979a2faaecdeff31 |43c7fe2cb2327bd835b5af9208b
                   |a427                        |01ad

--- Comment #7 from cwo <[email protected]> ---
Git commit a364b156943c7fe2cb2327bd835b5af9208b01ad by Christoph Wolk.
Committed on 05/02/2026 at 15:01.
Pushed by cwo into branch 'Plasma/6.6'.

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


(cherry picked from commit f4ec61ecb8b97726192c979a2faaecdeff31a427)

Co-authored-by: Christoph Wolk <[email protected]>

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

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

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

Reply via email to