> 2026/01/30 2:45、José Matos <[email protected]>のメール:
> 
> On Thu, 2026-01-29 at 21:09 +0900, Koji Yokota wrote:
>> José, could you give us a simple example file that causes the problem, and
>> provide us an exact recipe to reproduce it?
>> 
>> Koji
> 
> No, in the sense that this is not deterministic.
> The assertions happen sometimes.
> 
> The only deterministic pattern is that this only happens when doing copy and
> paste in the paste part.
> 
> So I do not have a recipe to repeat this. :-(
> 
> For example when I reopen LyX and repeat the same operation it works. So I am
> not able to replicate this.

Thanks. Then, I attach a candidate of a possible fix, which may or may not 
help. Since I cannot check if it helps, could you test with it?

Current setting is that GuiWorkArea::processKeySym() calls 
GuiApplication::processKeySym(), and a signal is directly emitted from there to 
GuiInputMethod to notify a possible change of the command state. The patch 
changes the signal is first sent from GuiApplication to GuiWorkArea, and then 
GuiWorkArea cascades the signal to GuiInputMethod. It intends to make sure the 
connection between GuiWorkArea and GuiInputMethod.

Since simple copy & paste causes an assertion, this may miss the point.

Koji

Attachment: another-fix-candidate.patch
Description: Binary data

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

Reply via email to