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

            Bug ID: 161286
           Summary: Qt VCL does not send input method cursor rectangle
                    based on preedit cursor
           Product: LibreOffice
           Version: 24.2.3.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 194364
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194364&action=edit
Qt6 plugin, the reported cursor is at the beginning of preedit

When using Qt 6 plugin, the cursor rectangle (Qt::ImCursorRectangle) reported
by libreoffice is at the beginning of preedit, not at the cursor of preedit.

Comparing to Gtk3, the position is reported correctly.

For example, if the preedit is like "あゝ|ああ"  ( "|" means the position at the
cursor), the Qt6 plugin will report cursor rectangle at the very beginning,
while Gtk3 plugin will report the position  at cursor "|".

Can be easily reproduced with mozc or anthy (with either ibus, or fcitx5). With
default configuration of mozc/anthy, press "a", "a", "a", "a", space, left,
space, will reproduce the issue.

See the screen shot for more details.

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

Reply via email to