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

            Bug ID: 517032
           Summary: Fcitx5 may work unexpectedly in Konsole
    Classification: Applications
           Product: konsole
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: keyboard
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 190309
  --> https://bugs.kde.org/attachment.cgi?id=190309&action=edit
there is a README file in the archive

SUMMARY
IME candidate list might become blurry and stretched in Konsole, and those
candidates may lose synchronization with actual composition

STEPS TO REPRODUCE
1. enable Fctix5, and switch to chinese input method "pinyin"(拼音)
2. open Konsole
3. type "nihao" and press space
4. repeat step 3 for a few times, then the bug may occur

OBSERVED RESULT
there a two bugs
1. the candidate list displayed does not correspond to the actual composition
string
2. the candidate window become blurred or horizontally stretched

for the first bug, for example, when typing "nihao", the displayed candidates
may correspond to only partial of the complete input string, such as "n" only
(see "error1.png") 
in some cases, no candidate window is rendered at all while composition is
still on going (see "error2.png")
the committed text corresponds to the full composition string, but the
candidate UI reflects a shorter or outdated preedit state. this makes IME usage
effectively "blind typing" because the candidate UI does not match the actual
composition state

EXPECTED RESULT
1. the candidate window should render correctly without being blurred or
stretched
2. the candidate list should always correspond to the full current preedit
string
3. the candidate UI state should remain being synchronized with the actual
input method composition state

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 43
KDE Plasma Version: 6.6.1
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.18.13-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 16 GiB of RAM (13.3 GiB usable)
Graphics Processor: AMD Radeon Graphics

fcitx5 version: 5.1.17
fcitx5-qt version: 5.1.12-3.fc43

ADDITIONAL INFORMATION
Konsole it self seems to have no commit related to IME recently, but there are
significant changes in Qt, fcitx5-qt recently, and there does have some commits
(0fe5d5bb & d86b0547) related to them few years ago

0fe5d5bb commit removed cases for Qt::ImCursorPosition, Qt::ImSurroundingText
and Qt::ImCurrentSelection, and setInputMethodHints into Qt::ImhNoAutoUppercase
| Qt::ImhNoPredictiveText, this might make Konsole more dependent to Qt, and
trigger bugs when updating Qt

this issue only appears recently (maybe less than 1 week), which indicates the
problem might be caused by Qt and fcitx5-qt updates on Fedora

this problem does not occur on Kitty, Firefox, Dolphin, CLion or VS Code. It
seems that it only happens in Konsole

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

Reply via email to