Re: Beamer & Outliner broken

2018-01-28 Thread Pavel Sanda
Scott Kostyshak wrote: > On Fri, Jan 12, 2018 at 05:20:18PM +, Pavel Sanda wrote: > > Pavel Sanda wrote: > > > after pushing the outliner button we call in TocWidget::outline generic > > > GuiApplication::dispatch which likely grabs currently active window; if > > > that's > > > the wrong

Re: Beamer & Outliner broken

2018-01-24 Thread Scott Kostyshak
On Fri, Jan 12, 2018 at 05:20:18PM +, Pavel Sanda wrote: > Pavel Sanda wrote: > > after pushing the outliner button we call in TocWidget::outline generic > > GuiApplication::dispatch which likely grabs currently active window; if > > that's > > the wrong window, it grabs wrong cursor

Re: Beamer & Outliner broken

2018-01-15 Thread Pavel Sanda
Andrew Parsloe wrote: > the problems I experienced trying to do buffer-reload after buffer-export > no longer seem to exist. Good. > The only sequence I can find that doesn't behave as desired is > > command-sequence buffer-export pdf2 ;  buffer-close Yeah, that's why there is repeat 150x

Re: Beamer & Outliner broken

2018-01-14 Thread Scott Kostyshak
On Mon, Jan 15, 2018 at 06:01:46AM +, Andrew Parsloe wrote: > On 14/01/2018 10:12 p.m., Pavel Sanda wrote: > > Andrew Parsloe wrote: > > > On 14/01/2018 7:59 a.m., Pavel Sanda wrote: > > > > Here we go: > > > > put beamer_test.lyx & beamer_test.tex.orig to our git tree. > > > > then outline &

Re: Beamer & Outliner broken

2018-01-14 Thread Andrew Parsloe
On 14/01/2018 10:12 p.m., Pavel Sanda wrote: Andrew Parsloe wrote: On 14/01/2018 7:59 a.m., Pavel Sanda wrote: Here we go: put beamer_test.lyx & beamer_test.tex.orig to our git tree. then outline & beamer test should be smt like: rm beamer_test.tex lyx -x 'command-sequence file-open

Re: Beamer & Outliner broken

2018-01-14 Thread Scott Kostyshak
On Sun, Jan 14, 2018 at 11:00:37PM +, Richard Heck wrote: > There was another bug recently that made me think we shouldn't use > clones when exporting from the command line, but I can't remember which > one. #10835 ? Scott signature.asc Description: PGP signature

Re: Beamer & Outliner broken

2018-01-14 Thread Richard Heck
On 01/14/2018 04:12 AM, Pavel Sanda wrote: > Andrew Parsloe wrote: >> On 14/01/2018 7:59 a.m., Pavel Sanda wrote: >>> Here we go: >>> put beamer_test.lyx & beamer_test.tex.orig to our git tree. >>> then outline & beamer test should be smt like: >>> >>> rm beamer_test.tex >>> lyx -x

Re: Beamer & Outliner broken

2018-01-14 Thread Kornel Benko
Am Sonntag, 14. Januar 2018 um 13:42:40, schrieb Pavel Sanda > Kornel Benko wrote: > > > > > 4.) Dialog appears every time asking for revert. > > > > > Using "buffer-write" now instead of "buffer-reload dump". > > > > > Since at start of test the original file is copied first and

Re: Beamer & Outliner broken

2018-01-14 Thread Pavel Sanda
Kornel Benko wrote: > > > > 4.) Dialog appears every time asking for revert. > > > > Using "buffer-write" now instead of "buffer-reload dump". > > > > Since at start of test the original file is copied first and then > > > > operated on the copy, > > > > nothing bad happens. > > > > > > If thats

Re: Beamer & Outliner broken

2018-01-14 Thread Kornel Benko
Am Sonntag, 14. Januar 2018 um 13:26:33, schrieb Kornel Benko > Am Sonntag, 14. Januar 2018 um 12:54:18, schrieb Kornel Benko > > Am Sonntag, 14. Januar 2018 um 12:13:19, schrieb Pavel Sanda > > > Kornel Benko wrote: > > > > I experience > > > >

Re: Beamer & Outliner broken

2018-01-14 Thread Kornel Benko
Am Sonntag, 14. Januar 2018 um 12:13:19, schrieb Pavel Sanda > Kornel Benko wrote: > > I experience > > 4.) Dialog appears every time asking for revert. > > Using "buffer-write" now instead of "buffer-reload dump". > > Since at start of test the original file is copied first and

Re: Beamer & Outliner broken

2018-01-14 Thread Pavel Sanda
Kornel Benko wrote: > I experience > 4.) Dialog appears every time asking for revert. > Using "buffer-write" now instead of "buffer-reload dump". > Since at start of test the original file is copied first and then operated on > the copy, > nothing bad happens. If thats how tests work in general,

Re: Beamer & Outliner broken

2018-01-14 Thread Kornel Benko
Am Sonntag, 14. Januar 2018 um 10:48:29, schrieb Kornel Benko > > > 2.) lyx starts with a gui > > > > Hard to fix, OTOH just few msgs back you suggested using much more fragile > > machinery of keystroke tests, > > so we could put it there if GUI is a problem. > > It shouldn't

Re: Beamer & Outliner broken

2018-01-14 Thread Kornel Benko
Am Sonntag, 14. Januar 2018 um 10:19:25, schrieb Pavel Sanda > Kornel Benko wrote: > > > > put beamer_test.lyx & beamer_test.tex.orig to our git tree. > > > > then outline & beamer test should be smt like: > > > > > > > > rm beamer_test.tex > > > > lyx -x 'command-sequence

Re: Beamer & Outliner broken

2018-01-14 Thread Pavel Sanda
Kornel Benko wrote: > > > put beamer_test.lyx & beamer_test.tex.orig to our git tree. > > > then outline & beamer test should be smt like: > > > > > > rm beamer_test.tex > > > lyx -x 'command-sequence file-open beamer_test.lyx ; buffer-begin ; > > > repeat 150 outline-down; repeat 150 outline-up

Re: Beamer & Outliner broken

2018-01-14 Thread Pavel Sanda
Andrew Parsloe wrote: > On 14/01/2018 7:59 a.m., Pavel Sanda wrote: >> Here we go: >> put beamer_test.lyx & beamer_test.tex.orig to our git tree. >> then outline & beamer test should be smt like: >> >> rm beamer_test.tex >> lyx -x 'command-sequence file-open beamer_test.lyx ; buffer-begin ; repeat

Re: Beamer & Outliner broken

2018-01-14 Thread Kornel Benko
Am Samstag, 13. Januar 2018 um 20:02:37, schrieb Pavel Sanda > Pavel Sanda wrote: > > Here we go: > > > > put beamer_test.lyx & beamer_test.tex.orig to our git tree. > > then outline & beamer test should be smt like: > > > > rm beamer_test.tex > > lyx -x 'command-sequence

Re: Beamer & Outliner broken

2018-01-13 Thread Andrew Parsloe
On 14/01/2018 7:59 a.m., Pavel Sanda wrote: Here we go: put beamer_test.lyx & beamer_test.tex.orig to our git tree. then outline & beamer test should be smt like: rm beamer_test.tex lyx -x 'command-sequence file-open beamer_test.lyx ; buffer-begin ; repeat 150 outline-down; repeat 150

Re: Beamer & Outliner broken

2018-01-13 Thread Pavel Sanda
Pavel Sanda wrote: > Here we go: > > put beamer_test.lyx & beamer_test.tex.orig to our git tree. > then outline & beamer test should be smt like: > > rm beamer_test.tex > lyx -x 'command-sequence file-open beamer_test.lyx ; buffer-begin ; repeat > 150 outline-down; repeat 150 outline-up ;

Re: Beamer & Outliner broken

2018-01-13 Thread Pavel Sanda
Pavel Sanda wrote: > Kornel Benko wrote: > > > > > how difficult it would be to create regression test where: > > > > > 1. we load beamer example, export to .tex > > > > > 2. we pick some (first) frame, apply 20x lfuns for moving slide down, > > > > > 20x lfun for moving up > > > > > 3. export

Re: Beamer & Outliner broken

2018-01-13 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Am Freitag, den 12.01.2018, 16:10 +0100 schrieb Pavel Sanda: > > a) > > 1. Load beamer example. Got to the first unnamed slide. > > 2. Hit 3x times down button at outliner. Slide is again merged/lost. > > 3. Now things get even more weird: Hit 3x times undo and > >

Re: Beamer & Outliner broken

2018-01-13 Thread Jürgen Spitzmüller
Am Freitag, den 12.01.2018, 16:10 +0100 schrieb Pavel Sanda: > a) > 1. Load beamer example. Got to the first unnamed slide. > 2. Hit 3x times down button at outliner. Slide is again merged/lost. > 3. Now things get even more weird: Hit 3x times undo and >the document structure is not restored,

Re: Beamer & Outliner broken

2018-01-12 Thread Pavel Sanda
Pavel Sanda wrote: > after pushing the outliner button we call in TocWidget::outline generic > GuiApplication::dispatch which likely grabs currently active window; if that's > the wrong window, it grabs wrong cursor position, moves wrong section and > suddenly content of outliner and buffer

Re: Beamer & Outliner broken

2018-01-12 Thread Pavel Sanda
Kornel Benko wrote: > > > > how difficult it would be to create regression test where: > > > > 1. we load beamer example, export to .tex > > > > 2. we pick some (first) frame, apply 20x lfuns for moving slide down, > > > > 20x lfun for moving up > > > > 3. export again to .tex and compare that

Re: Beamer & Outliner broken

2018-01-12 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Am Freitag, den 12.01.2018, 13:19 +0100 schrieb Pavel Sanda: > > Jürgen Spitzmüller wrote: > > > Am Donnerstag, den 11.01.2018, 16:37 +0100 schrieb Jürgen > > > Spitzmüller: > > > > I see now. These are further special cases I haven't accounted > > > > for > > > > yet

Re: Beamer & Outliner broken

2018-01-12 Thread Jürgen Spitzmüller
Am Freitag, den 12.01.2018, 13:19 +0100 schrieb Pavel Sanda: > Jürgen Spitzmüller wrote: > > Am Donnerstag, den 11.01.2018, 16:37 +0100 schrieb Jürgen > > Spitzmüller: > > > I see now. These are further special cases I haven't accounted > > > for > > > yet (a frame followed by a section). > > > >

Re: Beamer & Outliner broken

2018-01-12 Thread Jean-Marc Lasgouttes
Le 12/01/2018 à 13:19, Pavel Sanda a écrit : These cases are handled now as well. Please test. Can't compile master after 43e4b80734 (Install a new compressor). Qt4 oldtimer? JMarc

Re: Beamer & Outliner broken

2018-01-12 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Am Donnerstag, den 11.01.2018, 16:37 +0100 schrieb Jürgen Spitzmüller: > > I see now. These are further special cases I haven't accounted for > > yet (a frame followed by a section). > > These cases are handled now as well. Please test. Can't compile master after

Re: Beamer & Outliner broken

2018-01-12 Thread Jürgen Spitzmüller
Am Donnerstag, den 11.01.2018, 16:37 +0100 schrieb Jürgen Spitzmüller: > I see now. These are further special cases I haven't accounted for > yet (a frame followed by a section). These cases are handled now as well. Please test. Jürgen signature.asc Description: This is a digitally signed

Re: Beamer & Outliner broken

2018-01-11 Thread Kornel Benko
Am Donnerstag, 11. Januar 2018 um 18:40:53, schrieb Pavel Sanda > Kornel Benko wrote: > > > how difficult it would be to create regression test where: > > > 1. we load beamer example, export to .tex > > > 2. we pick some (first) frame, apply 20x lfuns for moving slide down, 20x >

Re: Beamer & Outliner broken

2018-01-11 Thread Pavel Sanda
Kornel Benko wrote: > > how difficult it would be to create regression test where: > > 1. we load beamer example, export to .tex > > 2. we pick some (first) frame, apply 20x lfuns for moving slide down, 20x > > lfun for moving up > > 3. export again to .tex and compare that both versions did not

Re: Beamer & Outliner broken

2018-01-11 Thread Kornel Benko
Am Donnerstag, 11. Januar 2018 um 16:49:01, schrieb Pavel Sanda > Scott Kostyshak wrote: > > On Wed, Jan 10, 2018 at 09:15:42AM +, Pavel Sanda wrote: > > > > > I mean regression to previous beamer implementation from which we > > > departed at 2.1 > > > (I worked mainly under

Re: Beamer & Outliner broken

2018-01-11 Thread Pavel Sanda
Scott Kostyshak wrote: > On Wed, Jan 10, 2018 at 09:15:42AM +, Pavel Sanda wrote: > > > I mean regression to previous beamer implementation from which we departed > > at 2.1 > > (I worked mainly under 2.0 until recent JMarc painting patch) so I apologize > > if my complaints did not come

Re: Beamer & Outliner broken

2018-01-11 Thread Jürgen Spitzmüller
2018-01-11 16:35 GMT+01:00 Pavel Sanda : > Jürgen Spitzmüller wrote: > > 2018-01-11 15:19 GMT+01:00 Pavel Sanda : > > > > > Hmm, it does not seem to work here. Actually none of the two merging > > > problems seems fixed: > > > - the first (unnamed frame) still merges

Re: Beamer & Outliner broken

2018-01-11 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > 2018-01-11 15:19 GMT+01:00 Pavel Sanda : > > > Hmm, it does not seem to work here. Actually none of the two merging > > problems seems fixed: > > - the first (unnamed frame) still merges into the second after down > > movement > > - the last but one

Re: Beamer & Outliner broken

2018-01-11 Thread Jürgen Spitzmüller
2018-01-11 15:19 GMT+01:00 Pavel Sanda : > Hmm, it does not seem to work here. Actually none of the two merging > problems seems fixed: > - the first (unnamed frame) still merges into the second after down > movement > - the last but one frame ('... much more!') still merges inside

Re: Beamer & Outliner broken

2018-01-11 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > >> If I try to avoid the pitfalls above and try to move slides with > >> copy/paste > >> the final ending line of frame is not copied into selection, so when I > >> paste > >> is elsewhere, it breaks then the structure of the surrounding frames. > >> Is there some

Re: Beamer & Outliner broken

2018-01-11 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > > We can start with this one: > > 1. open beamer manual & outliner > > 2. go to the first frame > > 3. hit outliner "down" button. > > 4. 1&2nd slide merge together > > > > These are examples where there is no separator in the moved frame (or at > the location to be

Re: Beamer & Outliner broken

2018-01-11 Thread Jürgen Spitzmüller
2018-01-11 10:52 GMT+01:00 Jürgen Spitzmüller : > 2018-01-08 19:50 GMT+01:00 Pavel Sanda : > >> If I try to avoid the pitfalls above and try to move slides with >> copy/paste >> the final ending line of frame is not copied into selection, so when I >> paste >> is

Re: Beamer & Outliner broken

2018-01-11 Thread Jürgen Spitzmüller
2018-01-08 19:50 GMT+01:00 Pavel Sanda : > If I try to avoid the pitfalls above and try to move slides with copy/paste > the final ending line of frame is not copied into selection, so when I > paste > is elsewhere, it breaks then the structure of the surrounding frames. > Is there

Re: Beamer & Outliner broken

2018-01-11 Thread Jürgen Spitzmüller
2018-01-08 19:42 GMT+01:00 Pavel Sanda: > Hi Juergen, > > I don't know if there is still any energy left on your side, but even > short time > work with outliner and beamer shows that the new system breaks one of the > cool > features we had - reorganizing slide order via outliner's buttons

Re: Beamer & Outliner broken

2018-01-11 Thread Scott Kostyshak
On Wed, Jan 10, 2018 at 09:15:42AM +, Pavel Sanda wrote: > I mean regression to previous beamer implementation from which we departed at > 2.1 > (I worked mainly under 2.0 until recent JMarc painting patch) so I apologize > if my complaints did not come earlier :) Ah I see. Scott

Re: Beamer & Outliner broken

2018-01-10 Thread Pavel Sanda
Pavel Sanda wrote: > Pavel Sanda wrote: > > Will take some time to get the exact steps, but crash is clearly there when > > I play for a while... > > Ok, I think I was capable to nail the crash down, and it is not specifically > linked to beamer. > The recipy: > 1. open any structured document

Re: Beamer & Outliner broken

2018-01-10 Thread Pavel Sanda
Pavel Sanda wrote: > Will take some time to get the exact steps, but crash is clearly there when I > play for a while... Ok, I think I was capable to nail the crash down, and it is not specifically linked to beamer. The recipy: 1. open any structured document (eg introduction manual) 2. open

Re: Beamer & Outliner broken

2018-01-10 Thread Pavel Sanda
Pavel Sanda wrote: > Scott Kostyshak wrote: > > On Mon, Jan 08, 2018 at 06:42:41PM +, Pavel Sanda wrote: > > > Hi Juergen, > > > > > > I don't know if there is still any energy left on your side, but even > > > short time > > > work with outliner and beamer shows that the new system breaks

Re: Beamer & Outliner broken

2018-01-10 Thread Pavel Sanda
Scott Kostyshak wrote: > On Mon, Jan 08, 2018 at 06:42:41PM +, Pavel Sanda wrote: > > Hi Juergen, > > > > I don't know if there is still any energy left on your side, but even short > > time > > work with outliner and beamer shows that the new system breaks one of the > > cool > > features

Re: Beamer & Outliner broken

2018-01-08 Thread Scott Kostyshak
On Mon, Jan 08, 2018 at 06:42:41PM +, Pavel Sanda wrote: > Hi Juergen, > > I don't know if there is still any energy left on your side, but even short > time > work with outliner and beamer shows that the new system breaks one of the cool > features we had - reorganizing slide order via

Re: Beamer & Outliner broken

2018-01-08 Thread Pavel Sanda
Pavel Sanda wrote: > Hi Juergen, > > I don't know if there is still any energy left on your side, but even short > time > work with outliner and beamer shows that the new system breaks one of the cool > features we had - reorganizing slide order via outliner's buttons up/down :( If I try to