The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Amelek on January 03, 2010, 07:08:34 PM

Title: [bug r2999] Preview window size depends on global zoom
Post by: Amelek on January 03, 2010, 07:08:34 PM
Following bug happens: preview in some windows (eg. street info) is created with size depending on current (global) zoom:

(http://mallorn.ii.uj.edu.pl/~amelek/bugsize.JPG)
(from left: smallest zoom [most far view] to biggest zoom [most close view])
Title: Re: [bug r2999] Preview window size depends on global zoom
Post by: prissi on January 03, 2010, 08:07:59 PM
No easy way around this, since the size of the world displayed there is at maximum 16x16 tiles large. Otherwise it would show nothing in mountains or with higher zoom levels. It is rather an extension request imho.
Title: Re: [bug r2999] Preview window size depends on global zoom
Post by: Amelek on January 03, 2010, 09:05:06 PM
(http://mallorn.ii.uj.edu.pl/~amelek/huh.JPG)

sounds like bug for me.

Wouldn't it be possible to display it fixed zoomed (independent from global zoom) ?

I don't know how this works so it's hard for me to tell if this is possible
Title: Re: [bug r2999] Preview window size depends on global zoom
Post by: prissi on January 03, 2010, 09:12:06 PM
Since the unzoomed view in depot it is in principle possible. But only without nightview then.
Title: Re: [bug r2999] Preview window size depends on global zoom
Post by: knightly on January 03, 2010, 09:17:07 PM
Hi Prissi,

If it is really fixable, please kindly fix the dialogs for the builders too (factory builders, curiosity builders, etc.) as they suffer from the same problem.

Many thanks in advance!

Knightly
Title: Re: [bug r2999] Preview window size depends on global zoom
Post by: knightly on February 02, 2010, 10:55:20 AM
Should be fixed in trunk - r3069