Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-16 Thread Jean-Marc Lasgouttes
Le 16/04/2024 à 18:44, Jürgen Spitzmüller a écrit : Am Dienstag, dem 16.04.2024 um 12:08 +0200 schrieb Jean-Marc Lasgouttes: I propose the following patch. Can you check that it works? Works for me with both testcases. Thanks for testing, it is now in master. Riki, I think it is worth

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-16 Thread Scott Kostyshak
On Tue, Apr 16, 2024 at 06:44:25PM GMT, Jürgen Spitzmüller wrote: > Am Dienstag, dem 16.04.2024 um 12:08 +0200 schrieb Jean-Marc > Lasgouttes: > > I propose the following patch. Can you check that it works? > > Works for me with both testcases. Works well here. Thanks! Scott signature.asc

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-16 Thread Jürgen Spitzmüller
Am Dienstag, dem 16.04.2024 um 12:08 +0200 schrieb Jean-Marc Lasgouttes: > I propose the following patch. Can you check that it works? Works for me with both testcases. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-16 Thread Richard Kimberly Heck
On 4/16/24 06:08, Jean-Marc Lasgouttes wrote: Le 13/04/2024 à 08:10, Jürgen Spitzmüller a écrit : Note that this is not specific to this particularly inset. I can reproduce with any other (text) inset, e.g.: 1. Start a new document. 2. Insert a Note inset 3. Save the (new) file (cursor still

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-16 Thread Jean-Marc Lasgouttes
Le 13/04/2024 à 08:10, Jürgen Spitzmüller a écrit : Note that this is not specific to this particularly inset. I can reproduce with any other (text) inset, e.g.: 1. Start a new document. 2. Insert a Note inset 3. Save the (new) file (cursor still being in the Note inset). => Kaboom. What

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-13 Thread Scott Kostyshak
On Sat, Apr 13, 2024 at 08:10:59AM GMT, Jürgen Spitzmüller wrote: > Am Freitag, dem 12.04.2024 um 12:06 -0400 schrieb Scott Kostyshak: > > To reproduce: > > > > 1. Start a new document. > > 2. Start a math inset, e.g., ctrl + m. > > 3. Type "x". > > 4. Press "_" to go into the subscript. > > 5.

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-13 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 12:06 -0400 schrieb Scott Kostyshak: > To reproduce: > > 1. Start a new document. > 2. Start a math inset, e.g., ctrl + m. > 3. Type "x". > 4. Press "_" to go into the subscript. > 5. Type "i" (so at this step the math will be $x_i$). > 6. Save the (new) file. > >

SIGSEGV on current master when saving with cursor in subscript

2024-04-12 Thread Scott Kostyshak
To reproduce: 1. Start a new document. 2. Start a math inset, e.g., ctrl + m. 3. Type "x". 4. Press "_" to go into the subscript. 5. Type "i" (so at this step the math will be $x_i$). 6. Save the (new) file. After saving, I get a SIGSEGV. Note that to reproduce, after 5, do not move the cursor.

Re: SIGSEGV on current master

2024-03-30 Thread Scott Kostyshak
On Sat, Mar 30, 2024 at 10:05:47AM +, José Matos wrote: > On Sat, 2024-03-30 at 10:16 +0100, Jürgen Spitzmüller wrote: > > Yes, fixed, thanks. > > I confirm, it works now for me. :-) Works here also, and I tested on my original (non-minimal) example. Thanks for the quick fix! Scott

Re: SIGSEGV on current master

2024-03-30 Thread José Matos
On Sat, 2024-03-30 at 10:16 +0100, Jürgen Spitzmüller wrote: > Yes, fixed, thanks. I confirm, it works now for me. :-) -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: SIGSEGV on current master

2024-03-30 Thread Jürgen Spitzmüller
Am Freitag, dem 29.03.2024 um 22:38 -0400 schrieb Scott Kostyshak: > To reproduce: > > 1. Start a new document. > 2. Start a math inset and put "x + y". > 3. Select x. > 4. Press ctrl + f to open find. > 5. Press . > > The result for me is a SIGSEGV. > > Can anyone else reproduce? Yes, fixed,

Re: SIGSEGV on current master

2024-03-30 Thread Kornel Benko
Am Sat, 30 Mar 2024 08:10:53 + schrieb José Matos : > On Fri, 2024-03-29 at 22:38 -0400, Scott Kostyshak wrote: > > To reproduce: > > > > 1. Start a new document. > > 2. Start a math inset and put "x + y". > > 3. Select x. > > 4. Press ctrl + f to open find. > > 5. Press . > > > > The

Re: SIGSEGV on current master

2024-03-30 Thread José Matos
On Fri, 2024-03-29 at 22:38 -0400, Scott Kostyshak wrote: > To reproduce: > > 1. Start a new document. > 2. Start a math inset and put "x + y". > 3. Select x. > 4. Press ctrl + f to open find. > 5. Press . > > The result for me is a SIGSEGV. > > Can anyone else reproduce? > > Scott Yes, this

SIGSEGV on current master

2024-03-29 Thread Scott Kostyshak
To reproduce: 1. Start a new document. 2. Start a math inset and put "x + y". 3. Select x. 4. Press ctrl + f to open find. 5. Press . The result for me is a SIGSEGV. Can anyone else reproduce? Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org