Re: defect: Crash when pressing right arrow key to confirm macro at end of equation field

2026-04-23 Thread Yangtze L.
My bad. It seems that I did not search thoroughly enough before filing a
bug report.
I have updated to LyX 2.5.1, and all works well. Thanks!
P.S. Great piece of software :)

Pavel Sanda 於 2026年4月24日 週五,上午3:40寫道:

> On Thu, Apr 23, 2026 at 08:12:02PM +0800, Yangtze L. wrote:
> > *Description:*
> > When typing macros via backslash in equation fields, one presses [space]
> to
> > confirm the macro. In the case where [right arrow] is pressed instead of
> > [space], LyX confirms the macro and advances the cursor; however, a crash
> > occurs if the macro is at the end of an equation field.
>
> Please can you try LyX 2.5.1 instead 2.5.0? Similar bug was recently fixed?
>
> Pavel
>
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel


Re: defect: Crash when pressing right arrow key to confirm macro at end of equation field

2026-04-23 Thread Pavel Sanda
On Thu, Apr 23, 2026 at 08:12:02PM +0800, Yangtze L. wrote:
> *Description:*
> When typing macros via backslash in equation fields, one presses [space] to
> confirm the macro. In the case where [right arrow] is pressed instead of
> [space], LyX confirms the macro and advances the cursor; however, a crash
> occurs if the macro is at the end of an equation field.

Please can you try LyX 2.5.1 instead 2.5.0? Similar bug was recently fixed?

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


defect: Crash when pressing right arrow key to confirm macro at end of equation field

2026-04-23 Thread Yangtze L.
*Description:*
When typing macros via backslash in equation fields, one presses [space] to
confirm the macro. In the case where [right arrow] is pressed instead of
[space], LyX confirms the macro and advances the cursor; however, a crash
occurs if the macro is at the end of an equation field.


*Steps to reproduce:*1. Open a new document.
2. Insert an equation field via [Insert math] in the toolbar.
3. Inside the equation field, type the command "\frac". Do *not* press
space to confirm the macro.
4. Press the right arrow key once. LyX crashes.

*System info:*
Version 2.5.0 (Tuesday, January 27, 2026)
Qt Version (run-time): 6.10.2 on platform windows
Qt Version (compile-time): 6.10.2
OS Version (run-time): Windows 11 Version 25H2
Python detected: 3.11.9
Draw strategy: partial draw
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel