I could not reproduce it on Mac, but judging from the fact that the problem 
occurs when a focus changes, it can be related to calls of inputItemTransform() 
or setInputItemTransform functions in src/frontends/qt/GuiWorkArea.cpp.

I’m not sure how selection is related since new codes related to selection only 
appear in GuiInputMethod class which will not be called unless input method is 
started.

If selection is not related, the same phenomena can happen on 2.4.x series, 
since the modification in GuiWorkArea was already made in LyX 2.4.2.

I’m going to check this on other platforms than Mac.

Koji

> 2025/01/28 0:01、Pavel Sanda <[email protected]>のメール:
> 
> On Mon, Jan 27, 2025 at 02:10:45PM +0100, Scott Kostyshak wrote:
>> Can anyone else who uses switch workspace reproduce?
> 
> I can reproduce superweird behaviour in many different scenarios when the 
> text is selected.
> 
> Switching workspace will do, but also losing mouse focus while holding Alt 
> key, sometimes just pressing
> Alt makes the text disappear. I was even able to get CT-deleted text instead 
> of plain deleted one
> when randomly moving around screens.
> 
> For some reason the document must be read-only (on the few tests I tried).
> 
> Pavel
> -- 
> lyx-devel mailing list
> [email protected]
> https://lists.lyx.org/mailman/listinfo/lyx-devel

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to