Bug 464822 - Don't ignore dead keys when the user types a filename prefix
Summary: Don't ignore dead keys when the user types a filename prefix
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-25 18:48 UTC by hierophanie
Modified: 2023-01-25 18:52 UTC (History)
1 user (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 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.