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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/7d4fbef
                   |                            |808940b2d12435b48bcdbd634cd
                   |                            |f5ed82

--- Comment #7 from Méven <[email protected]> ---
Git commit 7d4fbef808940b2d12435b48bcdbd634cdf5ed82 by Méven Car.
Committed on 20/07/2026 at 10:36.
Pushed by meven into branch 'master'.

Allow backward type-ahead navigation with Shift+letter

Typing a letter selects the next matching item, but there was no way to
reach a previous match without cycling through the whole list. Make
Shift+letter search backwards instead. The type-ahead search is
case-insensitive, so the capital letter is otherwise redundant and can be
repurposed; Shift-produced punctuation keeps its literal meaning and stays
searchable.

A searchBackwards flag is threaded from the key handler through the
keyboard search manager down to KFileItemModel::indexForKeyboardSearch,
which gains a reverse scan that wraps around.

M  +26   -3    src/kitemviews/kfileitemmodel.cpp
M  +1    -1    src/kitemviews/kfileitemmodel.h
M  +21   -6    src/kitemviews/kitemlistcontroller.cpp
M  +1    -1    src/kitemviews/kitemlistcontroller.h
M  +2    -1    src/kitemviews/kitemmodelbase.cpp
M  +3    -1    src/kitemviews/kitemmodelbase.h
M  +4    -3    src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp
M  +7    -5    src/kitemviews/private/kitemlistkeyboardsearchmanager.h
M  +10   -0    src/tests/kfileitemmodeltest.cpp
M  +49   -7    src/tests/kitemlistkeyboardsearchmanagertest.cpp

https://invent.kde.org/system/dolphin/-/commit/7d4fbef808940b2d12435b48bcdbd634cdf5ed82

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

Reply via email to