Re: qt4 and sessions

2006-10-23 Thread Abdelrazak Younes
Bo Peng wrote: The LFUN pass through the Action class. The problem is that GuiView::closeEvent() is not called. Two solution here: 1) Transfer the session stuff in GuiView::closeEvent() somewhere else. 2) Make sure that we pass through GuiView::closeEvent(). This could be achieved by a pure vir

Re: qt4 and sessions

2006-10-22 Thread Bo Peng
The LFUN pass through the Action class. The problem is that GuiView::closeEvent() is not called. Two solution here: 1) Transfer the session stuff in GuiView::closeEvent() somewhere else. 2) Make sure that we pass through GuiView::closeEvent(). This could be achieved by a pure virtual methods in

Re: qt4 and sessions

2006-10-22 Thread Abdelrazak Younes
Bo Peng wrote: This is because the session stuff is implemented in GuiView::closeEvent() which is not triggered when File->Quit is called. I'll try to find a solution. These two should behave identically, otherwise users will be confused. Where is File->Quit? (Sorry about my laziness.) The LF

Re: qt4 and sessions

2006-10-22 Thread Bo Peng
This is because the session stuff is implemented in GuiView::closeEvent() which is not triggered when File->Quit is called. I'll try to find a solution. These two should behave identically, otherwise users will be confused. Where is File->Quit? (Sorry about my laziness.) Another problem is how

Re: qt4 and sessions

2006-10-22 Thread Abdelrazak Younes
José Matos wrote: I have noticed the following problems with qt4 and sessions: 1)If I exit lyx using File->Quit then the information regarding height and width is lost. If I destroy the window going to the right upper corner and pressing X there (destroy) the it works, the information is col