Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.1
-
None
-
2065bc070dcd1f88a1f5ba3dd6ef0139a9a441ec (qt/qtbase/dev)
Description
Hi!
Sorry for my English.
Qt5's compose is defective by design. It returns only one symbol.
man 5 Compose says:
Each compose sequence specifies one or more events and a resulting input sequence, with an optional comment at the end of the line:
EVENT [EVENT...] : RESULT # COMMENT
The result specifies a string, keysym, or both, that the X client receives as input when the sequence of events is input:
"STRING" | keysym | "STRING" keysym
Many peoples use compose to shortcut text snippets, such as complex commands, parts of code, etc. For example there is part of my ~/.Xresources
<Multi_key> <z> <s> : "| sort | less" <Multi_key> <z> <d> : "colordiff -aur %d/%f %D/%F | less" <Multi_key> <z> <p> : "ps -H -eo user:24,pid,%cpu,cputime,rss,size,nice,stat,start_time,args | less" <Multi_key> <z> <a> <c> <n> : "getfacl -E -R %s | sed 's|^\\([^#].\\+\\):SRC_NAME:\\(.\\+\\)$|&\\n\\1:DST_NAME:\\2|' | setfacl --restore=-"
But Qt5's compose returns only first symbol. Application based on Qt5 is no longer suitable for such use. Time spent grow dramatically.
Fix it please.
Attachments
Issue Links
- relates to
-
QTBUG-42181 Use libxkbcommon compose key API in QComposeInputContext plugin.
- Closed