https://bugs.documentfoundation.org/show_bug.cgi?id=170814

            Bug ID: 170814
           Summary: Cursor following problem when editing Chinese document
                    with fcitx5-rime
           Product: LibreOffice
           Version: 25.8.1.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When editing a Chinese document in LibreOffice Writer using fcitx5-rime input
method, the input window refused to follow the cursor. It cannot be the input
method problem, because this function worked all well in other programs(such as
Firefox, KWrite, VSCode, etc).

Steps to Reproduce:
1. Install fcitx5-rime, use fcitx virtual keyboard, and switch to pinyin
Chinese input method.
2. Create a new document in LibreOffice Writer.
3. Type Chinese characters(any content will do, as long as they are in
Chinese)until the cursor reach the end of the line and starts a new line.
Observe the position of the input window.

Actual Results:
The input window stays in the original place and will not move with the cursor.
However, once if you press cursor control keys (such as backspace, arrow keys,
PgUp/PgDn and so on) or enter a space, the input window will move to the
position of the cursor when next Chinese input. It will stay in the place again
if you continue to type more Chinese characters.

Expected Results:
The input window should follow the cursor wherever it is.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I found some information about this problem in
<<https://fcitx-im.org/wiki/FAQ#Cursor_Following_problem>>. I think one of the
possible reason the problem is caused is LibreOffice Writer program did not
report cursor position to input method after the Chinese characters are input.

Here are information from menu Help - About LibreOffice:

Version: 25.8.1.1 (X86_64)
Build ID: 580(Build:1)
CPU threads: 32; OS: Linux 6.18; UI render: default; VCL: kf6 (cairo+wayland)
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded

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

Reply via email to