jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Command line parameters do not behave consistently #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
/triple and /quadruple behave differently from /double.
Onle you've used /triple or /quadruple from commandline, the GUI will be
tripled or quadrupled, even if you do not give any parameters.

How to reproduce:

1. start without any command line parameters, then quit.
2. start with "/double", then quit.
3. start without any command line parameters. GUI is normal.
3. start with "/quadruple", then quit.
4. start without any command line parameters. UI is still quadrupled.

Using svn r1226 on linux.

Original issue reported on code.google.com by pasi.kal...@gmail.com on 28 Nov 2009 at 12:34

GoogleCodeExporter commented 9 years ago
I suspect it's a combination of 2 factors: the window which gets sized-up in 
order to
fit triple/quadruple pixels, and the setting 'Menu_ratio' in gfx2.ini which 
tries to
zoom the menus (but only only the toolbar and window, not mouse cursor or 
image) when
the resolution or screen is big enough.

The program doesn't remember yet the last used pixel ratio, but our plans are to
remember it and set it back on last launch. Since it already remembers window 
size,
this will force the GUI to be exactly the same size as when you exited.

Original comment by yrizoud on 29 Nov 2009 at 6:08

GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 15 Jan 2010 at 7:39

GoogleCodeExporter commented 9 years ago
Fixed in r1257.

Original comment by pulkoma...@gmail.com on 16 Jan 2010 at 4:32