Bug 482394 - Ignore character modifiers for keyboard navigation
Summary: Ignore character modifiers for keyboard navigation
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-04 15:55 UTC by Thomas Moerschell
Modified: 2025-02-01 15:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Moerschell 2024-03-04 15:55:42 UTC
SUMMARY
Feature request: 
Folders and files can be selected easily with the keyboard by typing the first or the first few letters. However, this does not work when the names start with a special character, for example the German "Umlaut". It would be nice if characters with modifiers would be treated the same as others.


STEPS TO REPRODUCE
1. Create a folder containing subfolders or files, for the purposes of this example: `mkdir AB AC AÜ August Oa ÖV Ovation Over`
2. Sort view alphabetically
3. Try selecting the different folders using the keyboard letters. For example, 'AA' will select folder "AC", 'OVE' will select folder "Over".

OBSERVED RESULT
It is not possible to select folders with special characters. Typing 'AU' will select "August". Typing either 'OV' or 'OO' will select "Ovation", jumping over "ÖV" 

EXPECTED RESULT
Characters with modifiers should be treated the same as without for this purpose. Using the last example, typing 'OO' should select 'ÖV'.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
-
Comment 1 Thomas Moerschell 2025-02-01 15:27:10 UTC
Git commit c7d6b98fa2aaecbd7f31b9c5976a753508532742 by Thomas Moerschell.
Committed on 01/02/2025 at 12:56.
Pushed by meven into branch 'master'.

Ignore diacritical marks for keyboard search

When using keyboard search, normalize the item names and remove marks
first. Now, items containing characters with marks can be found using
keyboard search.

M  +18   -2    src/kitemviews/kfileitemmodel.cpp
M  +10   -1    src/tests/kfileitemmodeltest.cpp

https://invent.kde.org/system/dolphin/-/commit/c7d6b98fa2aaecbd7f31b9c5976a753508532742