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

            Bug ID: 357062
           Summary: Dead keys do not work correctly in vi input mode
           Product: kate
           Version: 5.0.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Vi Input Mode
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: mtijink.b...@gmail.com

My keyboard setting (Us-intl, with dead keys) uses the dead keys (so for
example: ') to compose characters like ', é, ë, ", etc.

The vi input mode does not work with correctly with this: the characters
appear, but repeating an insert using . does not insert those characters,
skipping them. Additionally, the characters appear even if they were typed in
normal mode (which should ignore them).

I traced the cause of the problem, and it appears that different events are
send for composed keys (QInputMethodEvent instead of QKeyEvent), and that code
just inserts the characters, without passing them to the input mode code.

(I also sent an e-mail to the mailing list, but did not receive a reply, so I
made this bug report)

Reproducible: Always

Steps to Reproduce:
1. Use a keyboard layout with dead keys
2. Type a character like é in vi mode (e.g. "café")
3. Repeat the insertion, by using .

Actual Results:  
The é is not present in the repeated insertion (so "caf" appears)

Expected Results:  
It should have shown "café"

My kate version is 15.12 (which I couldn't choose in the version box)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to