Abdelrazak Younes wrote: > [EMAIL PROTECTED] wrote: >> Author: forenr >> Date: Wed Nov 29 01:25:24 2006 >> New Revision: 16095 >> >> URL: http://www.lyx.org/trac/changeset/16095 >> Log: >> Add a regression to Status.15x >> >> Modified: >> lyx-devel/trunk/Status.15x >> >> Modified: lyx-devel/trunk/Status.15x >> URL: http://www.lyx.org/trac/file/lyx-devel/trunk/Status.15x?rev=16095 >> ============================================================================== >> >> --- lyx-devel/trunk/Status.15x (original) >> +++ lyx-devel/trunk/Status.15x Wed Nov 29 01:25:24 2006 >> @@ -237,6 +237,13 @@ >> correct font is found and used (cmr10). >> >> >> +REGRESSIONS >> + >> +* The -geometry option doesn't work on Windows (it did in 1.4.x) >> + c:\> lyx-qt4.exe -geometry 800x600+100+30 >> + Wrong command line option `-geometry'. Exiting. > > I think there was a hack from Peter to do this on Windows. I might have > corrupted that with my startup cleanup... Could you have a look Peter > please? > > Abdel. >
The geometry option is a feature of the linux windows manager/x-server(?), and is not availabale on Windows. 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. Peter