[Konsole-devel] [konsole] [Bug 343938] New: Konsole handles dead keys and Compose incorrectly

Chris Warrick kwpolska at gmail.com
Sun Feb 8 13:55:04 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=343938

            Bug ID: 343938
           Summary: Konsole handles dead keys and Compose incorrectly
           Product: konsole
           Version: 3.0.1
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: keyboard
          Assignee: konsole-devel at kde.org
          Reporter: kwpolska at gmail.com

My keyboard features a plethora of dead-keys, and a Compose key.  In most apps,
including Kate, I can use them hassle-free — for example, Compose + " + u
outputs ü, and so does my dead-key for the umlaut (I customized my keyboard
layout.)  However, Konsole fails to recognize them and inserts � when I am done
entering the sequence.

>>> import unicodedata
>>> good = u"üü" # inserted in Kate (using both methods) and copy-pasted
>>> bad = u"��" # inserted directly in Konsole
>>> unicodedata.name(good[0])
'LATIN SMALL LETTER U WITH DIAERESIS'
>>> unicodedata.name(bad[0])
'REPLACEMENT CHARACTER'

However, I can insert Unicode characters (even the most complicated ones and
even ones outside of BMP) that are on my keyboard (plain AltGr):

Alt + o = ó (pl keyboard layout)
Compose + ' + o = �

Reproducible: Always

Steps to Reproduce:
1. Add a Compose key or a dead key to your keyboard layout.  (for compose,
there is a nice option in advanced keyboard system settings)
2. Try to use it with Konsole.
3. Fail miserably.

Actual Results:  
'REPLACEMENT CHARACTER'

Expected Results:  
'LATIN SMALL LETTER U WITH DIAERESIS'

Happens with all dead keys and all characters gained via the Compose key.  The
encoding is set to UTF-8.

I can type Unicode characters that are directly available from my keyboard.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list