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

            Bug ID: 513600
           Summary: IME composition cursor jumps to start of uncommitted
                    text on Windows
    Classification: Applications
           Product: kate
      Version First Git
       Reported In:
          Platform: Other
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When typing Japanese text using IME on Windows, the cursor incorrectly jumps to
the beginning of the uncommitted (preedit) text string whenever a new character
is entered. This makes Japanese input nearly unusable.
Steps to Reproduce:

- Open Kate on Windows 10
- Switch to Japanese IME (Google Japanese Input or MS-IME)
- Start typing in hiragana (uncommitted text appears)
- Type the next character
- Observe cursor position

Expected Result:
The cursor should remain at the end of the uncommitted text string, allowing
continuous input.
Actual Result:
The cursor jumps to the beginning of the uncommitted text string with each new
character input.
Environment:

- OS: Windows 10
- Kate version: 26.03.70 (nightly build)
- Qt version: 6.9.2
- IME tested: Google Japanese Input, MS-IME (both show the same issue)

Additional Information:

- This issue does NOT occur on Ubuntu 22.04/24.04 with Fcitx + Mozc
- This appears to be a Windows-specific IME handling bug
- The issue occurs with both Google Japanese Input and MS-IME, suggesting it's
not IME-specific but rather a Kate/KTextEditor Windows IME integration issue
- Kate seems to treat uncommitted text as if it doesn't exist until committed,
causing the cursor position mismatch

Impact:
This bug makes Kate unusable for Japanese text input on Windows, forcing users
to use alternative editors.

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

Reply via email to