[LyX/master] Introducing OnTheSpot-style input method editing & IME integration

Scott Kostyshak skostysh at lyx.org
Mon Jan 27 13:10:45 UTC 2025


On Thu, Jan 23, 2025 at 12:29:13PM +0000, Koji Yokota wrote:
> commit b9c5f6be5ef617d4776abeeaec4c271410fedcc2
> Author: Koji Yokota <yokota at lyx.org>
> Date:   Thu Jan 23 18:52:51 2025 +0900
> 
>     Introducing OnTheSpot-style input method editing & IME integration
>     
>     OnTheSpot style of the input method editor (IME) shows preedit strings in the
>     same status as normal string inputs instead of showing it overlapping with
>     the main text. In doing so, the input method is more integrated with LyX
>     enabling e.g. automatic on/off of IME in the math editor or in the command mode.
> 
> -- 

Starting with this commit I can reproduce some weird behavior when changing workspaces. To reproduce:

1. Open a document from the Help menu (I've been testing with Beamer).
2. select text.
3. switch workspaces.
4. switch back.

Result: the text is gone.

Note that the buffer is read-only (since I opened it from the Help menu).

Note also that after the text disappears "undo" does nothing since it's disabled (since it's read only).

If I preview to PDF, then indeed the text is missing there also so it does appear the buffer was modified.

It seems that switching workspaces somehow send a signal that is not being processed correctly?

Here is a short screencast (warning: I accidentally enabled sound).

Can anyone else who uses switch workspace reproduce?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250127/03596f41/attachment.sig>


More information about the lyx-devel mailing list