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

"Yangtze L." <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <CAEvLJCfVkw1Ept-puYiGFhFcWBq+zM7Lsrp1cqWzG5P1FqoygQ@mail.gmail.com>
*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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.