Peter Kümmel wrote:
Abdelrazak Younes wrote:
I just rewrote the session management of windows geometry to use
QSettings. This commit also removes the possibility to fix the window
dimensions in the RC file. Instead we have now a single check box for
enabling/disabling geometry session management.
Looks much cleaner and simpler.
That was the main justification for bumping the requirement to Qt4.2 ;-)
- enum Maximized {
- NotMaximized = 0, // LyX::newLyXView() relies on this to be zero!
- VerticallyMaximized,
- HorizontallyMaximized,
- CompletelyMaximized
- };
Are you sure all the maximized versions are still supported under Linux?
No, I am not sure, hence the call for testers on X11.
It was very hairy to get it right there (tracking the window size...).
I know, I've seen the code ;-)
Anyway, the problem lied (I think) in the fact that there is no real
maximisation mode under X11. Those are "emulated" by the window manager.
By restoring the geometry only at showEvent(), I think everthing will be
fine; but I need confirmation. In case that doesn't work, we can still
put back some of your code.
Abdel.