Bug 457065

Summary: Respect input method when typing filename prefixes
Product: [Applications] dolphin Reporter: hierophanie
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kfm-devel
Priority: NOR    
Version First Reported In: 20.04.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hierophanie 2022-07-24 08:52:03 UTC
Hello,

Currently, when typing incrementally the prefix of a filename to "jump" to it in the main interface, only single-key events are taken into account. This is fine if all characters in a given filename are bound to a single keyboard key, but this is often not the case. Plenty of keyboard mappings use dead keys, and there are also many input methods that use compose sequences to represent characters in various languages.

To handle such cases, it is necessary to pass each key event through the input method handler and, depending on what it returns, either do nothing (if a dead key was pressed or if we're within a compose sequence), or lookup filename prefixes (if the return value is a string), or do something else (for keyboard keys like arrows, etc.)

If I remember well, XFCE's file manager, Thunar, supports this well. I don't know much about Qt, though.

Best,

Michael