Fix wrong preedit cursor position in 2.4.x built on Qt5

Yokota K. yokota6 at gmail.com
Tue Aug 20 05:02:01 UTC 2024


Dear developers,

LyX-2.4.1 built on Qt5 seems to have wrong cursor position while editing preedit strings using the input method. Since this is annoying for input method users, may I apply the attached patch to the 2.4.x code?

The preedit cursor position in the completing mode (choosing right chars from candidates by parts) reported by Qt5 points to the *end* of the selected part, while Qt6 points to the *start* of it.

These different behaviors were not documented, so I missed to reflect it to the Qt5 case in fixing #13054.

Best regards,

Koji Yokota

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frontends-qt-GuiWorkArea.cpp.patch
Type: application/octet-stream
Size: 2799 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240820/30b7bdf6/attachment.obj>


More information about the lyx-devel mailing list