Bug 353441

Summary: Cannot type emojis (with custom keyboard map)
Product: [I don't know] kde Reporter: Iván Sánchez Ortega <ivansanchez>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Iván Sánchez Ortega 2015-10-02 09:42:23 UTC
I use a custom keyboard map (via xmodmap) to type some decorative UTF8 characters quickly. After upgrading KDE to 15.08, characters typed this way don't show up in some applications at all.

Reproducible: Always

Steps to Reproduce:
The following shell script allows to type the "Fallen leaf" character (unicode character 0x1F342) by pressing AltGr+"L":

echo "keycode  46 = l L l L U1F342 Lstroke lstroke" > /tmp/.leaf-xmodmap
xmodmap  /tmp/.leaf-xmodmap
rm  /tmp/.leafdoc-xmodmap

Run it in a console, then press AltGr+L while in different applications (kate, konqueror, konsole) and places (katepart, filepicker, etc)


Actual Results:  
In some applications/kparts, the typed character doesn't show up at all. Most notably, I cannot type the character in a katepart in Kate, but I can type it in a konsolepart in the same Kate window.

Expected Results:  
Character should always appear when typed.

I'm using KDE vesion 15.08.1, ,compiled against KDE frameworks 5.14.0 and Qt 5.4.2 (from Debian unstable packages).
Comment 1 Iván Sánchez Ortega 2016-06-02 08:34:01 UTC
Can no longer be reproduced in Kate v16.04.