Bug 464822

Summary: Don't ignore dead keys when the user types a filename prefix
Product: [Applications] dolphin Reporter: hierophanie
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kfm-devel
Priority: NOR    
Version: 22.12.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description hierophanie 2023-01-25 18:48:36 UTC
Hello,

Dolphin makes it possible to locate files within a folder by typing the first few letters of their name. This is quite useful for navigating quickly through the file hierarchy.

However, dolphin assumes that pressing one key (possibly together with modifier keys) necessarily produces one character. But this is not the case. Many keyboard layouts use dead keys. X11 also allows you to define custom key sequences to type special characters or sequences of characters. Chinese and Japanese people (among others) use input methods where typing a single character involves pressing a sequence of 2 keys or more.

It is thus impossible to find a file which name contains a character that can only be produced by typing 2 keys or more. For instance, I cannot move to a file named "être" because "ê" can only be produced by typing ^ + e on my keyboard.

It would be great if dolphin supported this use case!

Best,
Michael
Comment 1 hierophanie 2023-01-25 18:52:24 UTC
I forgot to add that the dead key/input method business is (seemingly) related to the QInputMethod class. I don't know much about Qt, unfortunately.