Christopher, thank you very much for taking the time to report this issue and to give details on how to reproduce. I've tried several times and I cannot reproduce. Can you make a screencast? If not, please answer the following questions: After writing "ccc", do you put the cursor at the top? Or after you search you first click on "Yes" in the "wrap search" dialog? Do you do the search before you click in the replace box and type "\abc"? Do you do anything (e.g. click in the main text area?) after you make the substitution and before you execute the ctrl-z? If you do ctrl-z with the cursor in the advanced find, then it undoes the last edit to the advanced find window. If you do it in the main workarea, it undoes the substitution.
Are you able to reproduce while running LyX from gdb? Can you post a backtrace? -- You received this bug notification because you are a member of Ubuntu Studio Bugs, which is subscribed to lyx in Ubuntu. Matching subscriptions: Ubuntu Studio Bugs https://bugs.launchpad.net/bugs/1737429 Title: LyX crashes when undoing an advanced search-replace Status in LyX: New Status in lyx package in Ubuntu: New Bug description: Open a new document. Type content as follows: aaa bbb ccc Then open the Advanced Search-Replace dialog (under edit), and search for "bbb". In the replace box, write "\abc" inside an ERT (red) box. Make the substitution. Now try to undo the operation (ctrl-z). LyX repeatably crashes /dies completely at this point. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: lyx 2.2.3-1 ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13 Uname: Linux 4.13.0-19-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.6 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Dec 10 15:12:34 2017 EcryptfsInUse: Yes InstallationDate: Installed on 2017-11-18 (22 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) SourcePackage: lyx UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/lyx/+bug/1737429/+subscriptions -- Mailing list: https://launchpad.net/~ubuntustudio-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntustudio-bugs More help : https://help.launchpad.net/ListHelp

