Am Mittwoch, 29. November 2006 11:40 schrieb Enrico Forestieri: > On Wed, Nov 29, 2006 at 09:50:51AM +0100, Peter Kümmel wrote: > > The geometry option is a feature of the linux windows > > manager/x-server(?), and is not availabale on Windows. > > Are you sure? The Qt3 frontend handles it pretty good on Windows, too. > > > Currently only the geometry option is passed with it's arguments to the > > system, but Windows couldn't handle it: > > > > lyx_main.C > > > > if (support::compare(argv[i], "-geometry") == 0) > > geometryOption_ = true; > > ... > > if (geometryOption_) { > > width = 0; > > height = 0; > > } > > > > > > I don't plan to emulate the geometry option on Windows, because > > now the restoring of the windows size works fine. > > I am not sure it has to be emulated, unless something changed in this > respect in Qt4. I badly miss this option, maybe because I am not a > typical Windows user and expect that it works as it should. I use LyX > through scripts for doing different jobs and in some cases I want that > the LyX window has small dimensions. This was working before and if it > doesn't work anymore, it is a regression, and a bad one from my point > of view... I begin thinking that nuking the Qt3 frontend was not such > a bright idea... Seems Qt4 has severe limitations in some area... > I could continue ranting forever if I can't have back -geometry ;-)
OK, I will have a look at the qt3 sources. Peter