[Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. The fix is simple. The removed code is already done on Buffer deletion thanks to the Buffer::closing() signal connection to LyXView. Setting the

Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171 I've no time to test ATM, but your explanation

Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171 No this is something

[PATCH] Fix bug 3171 (was Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171 Actually the fix for

Re: [PATCH] Fix bug 3171 (was Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171

Re: [PATCH] Fix bug 3171 (was Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: I'll be off for a few days and I didn't want RC2 to behave like this. Me as well (until the weekend). So if you think any of the patches I posted should go in, feel free to commit them. Jürgen

[Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. The fix is simple. The removed code is already done on Buffer deletion thanks to the Buffer::closing() signal connection to LyXView. Setting the

Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Use case: > > 1) Open doc1 > 2) scroll a bit > 3) open doc2 > 4) close doc2 > > Bug: The cursor is not at last position of doc1 and the screen is not > redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171 I've no time to test ATM, but your

Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171 No this is something

[PATCH] Fix bug 3171 (was Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171 Actually the fix for

Re: [PATCH] Fix bug 3171 (was Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Use case: 1) Open doc1 2) scroll a bit 3) open doc2 4) close doc2 Bug: The cursor is not at last position of doc1 and the screen is not redrawn. This is bug 3171, right? http://bugzilla.lyx.org/show_bug.cgi?id=3171

Re: [PATCH] Fix bug 3171 (was Re: [Patch] Bugfix: last Buffer position is not remembered on buffer switch

2007-06-19 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > I'll be off for a few days and I didn't > want RC2 to behave like this. Me as well (until the weekend). So if you think any of the patches I posted should go in, feel free to commit them. Jürgen