Re: [patch] Do not add auto-loaded files to last file list.

2006-08-12 Thread Abdelrazak Younes
Georg Baum wrote: The scrollbar does still not work: trying to drag it with the mouse, or clicking below or above the slider does not move it, it results only in some flickering (both qt3 and qt4). Actually, the scrollbar sort-of works only if "Cursor follows scrollbar" is set. That's why I

Re: [patch] Do not add auto-loaded files to last file list.

2006-08-06 Thread Edwin Leuven
Michael Gerz wrote: Temporarily or forever? Can we remove the files? i will get rid of 'em once i put in the new bullet stuff...

Re: [patch] Do not add auto-loaded files to last file list.

2006-08-06 Thread Michael Gerz
Edwin Leuven wrote: Michael Gerz wrote: Lars Gullik Bjønnes wrote: Not quite. QT3_SUPPORT is still defined by configure. And if that is removed the compile fails. OK, I found the following "q3..." functions. They may be the reason why QT3_SUPPORT is still needed. no, qbrowsebox is n

Re: [patch] Do not add auto-loaded files to last file list.

2006-08-06 Thread Edwin Leuven
Michael Gerz wrote: Lars Gullik Bjønnes wrote: Not quite. QT3_SUPPORT is still defined by configure. And if that is removed the compile fails. OK, I found the following "q3..." functions. They may be the reason why QT3_SUPPORT is still needed. no, qbrowsebox is not compiled Mi

Re: [patch] Do not add auto-loaded files to last file list.

2006-08-06 Thread Michael Gerz
Lars Gullik Bjønnes wrote: Not quite. QT3_SUPPORT is still defined by configure. And if that is removed the compile fails. OK, I found the following "q3..." functions. They may be the reason why QT3_SUPPORT is still needed. Michael [EMAIL PROTECTED]:~/lyx-trunk/src/frontends/qt4> find

Re: [patch] Do not add auto-loaded files to last file list.

2006-08-06 Thread Edwin Leuven
Michael Gerz wrote: Lars Gullik Bjønnes wrote: Wasn't it some dialogs missing something? IIRC there was some issue with the bullets dialog. am working on that now

Re: [patch] Do not add auto-loaded files to last file list.

2006-08-06 Thread Lars Gullik Bjønnes
Michael Gerz <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | >| | Very good. Thanks for fixing this and sorry for forgetting it at the | >| | first place. Maybe we'll have to start (again... ;-)) the discussion | >| | about qt3 dropping someday... | > | | Perhaps make the Qt4 port re

Re: [patch] Do not add auto-loaded files to last file list.

2006-08-06 Thread Michael Gerz
Lars Gullik Bjønnes wrote: | | Very good. Thanks for fixing this and sorry for forgetting it at the | | first place. Maybe we'll have to start (again... ;-)) the discussion | | about qt3 dropping someday... | | Perhaps make the Qt4 port really good first? Wasn't it some dialogs missing someth

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-30 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Abdelrazak Younes <[EMAIL PROTECTED]> writes: | | | Georg Baum wrote: | | >> I guess I forgot to update the update mechanism for qt3. You need | | >> to either call WorkArea::redraw() at the end of each event in | | >> QWorkArea or call directly

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-30 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Georg Baum wrote: | >> I guess I forgot to update the update mechanism for qt3. You need | >> to either call WorkArea::redraw() at the end of each event in | >> QWorkArea or call directly the associated event in WorkArea. Please | >> see qt4/GuiWork

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-30 Thread Abdelrazak Younes
Georg Baum wrote: I guess I forgot to update the update mechanism for qt3. You need to either call WorkArea::redraw() at the end of each event in QWorkArea or call directly the associated event in WorkArea. Please see qt4/GuiWorkArea as an example. If you don't fix it, I'll do it when I come

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-30 Thread Georg Baum
Am Sonntag, 30. Juli 2006 08:46 schrieb Abdelrazak Younes: > Georg Baum wrote: > >> | There is general breakage in trunk, probably related to the update > >> | changes of Abdel and Lars. It is e.g. not possible to bring up an inset > >> | dialog by clicking with the mouse on the inset. > >> > >> T

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-29 Thread Abdelrazak Younes
Georg Baum wrote: | There is general breakage in trunk, probably related to the update | changes of Abdel and Lars. It is e.g. not possible to bring up an inset | dialog by clicking with the mouse on the inset. This is bad. Indeed. Unfortunately I am not sure when exactly this problem occured.

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-27 Thread Bo Peng
> 4. We should find a better place for the LyxSocket stuff, which is > currently in create_view. Why not leave that in start()? With that change I think it can go in. Done. Bo

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-27 Thread Georg Baum
Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> > writes: > > | Does not matter, gtk is allowed to rot (but your patch compiles at > | least, I did not run it) > > Note that allowed to rot does not mean let it rot. > If we can, without to much effort, we should at least keep it > com

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-27 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Bo Peng wrote: | | > The real patch is attached. :-) Please test. | > | > Note that | > 1. can not compile and test gtk | | Does not matter, gtk is allowed to rot (but your patch compiles at least, I | did not run it) Note that allowed to rot does not m

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-27 Thread Georg Baum
Bo Peng wrote: > The real patch is attached. :-) Please test. > > Note that > 1. can not compile and test gtk Does not matter, gtk is allowed to rot (but your patch compiles at least, I did not run it) > 2. tested under linux, with qt3/4, windows, msvc/qt4 qt3 works for me, too. > 3. Scroll b

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-26 Thread Bo Peng
Looking forward to the real solution then :-) The real patch is attached. :-) Please test. Note that 1. can not compile and test gtk 2. tested under linux, with qt3/4, windows, msvc/qt4 3. Scroll bar does not work (linux qt3/qt4, windows qt4), but does not seem to be related to my patch. 4. We

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-26 Thread Georg Baum
Bo Peng wrote: >> I don't understand that. What does "is reload by the session system" >> mean? > > Start lyx, help->tutorial (no last file entry), close lyx, start lyx, > tutorial is opened if session is turned on, and you will see a last > file entry for tutorial. OK, that does indeed not make

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-26 Thread Bo Peng
I don't understand that. What does "is reload by the session system" mean? Start lyx, help->tutorial (no last file entry), close lyx, start lyx, tutorial is opened if session is turned on, and you will see a last file entry for tutorial. And of course (as you alreday noticed) we do not want id

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-26 Thread Georg Baum
Bo Peng wrote: > Dear list, > > Currently, if a help document is reload by the session system, it will > be added to lastfile list. This patch corrects this. I don't understand that. What does "is reload by the session system" mean? And of course (as you alreday noticed) we do not want identical

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-26 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > OK to apply? | | Note that I plan to separate the start function, put things before | load files to create_view, load files to lyx_main.C (since they are | identical across frontends). I can prepare a bigger patch if you | prefer. Please. The current pat

Re: [patch] Do not add auto-loaded files to last file list.

2006-07-25 Thread Bo Peng
OK to apply? Note that I plan to separate the start function, put things before load files to create_view, load files to lyx_main.C (since they are identical across frontends). I can prepare a bigger patch if you prefer. Bo

[patch] Do not add auto-loaded files to last file list.

2006-07-25 Thread Bo Peng
Dear list, Currently, if a help document is reload by the session system, it will be added to lastfile list. This patch corrects this. OK to apply? Bo Index: src/frontends/gtk/lyx_gui.C === --- src/frontends/gtk/lyx_gui.C (revision