Options show wrong resolution as selected if no ~/.widelands/conf exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
To reproduce
1. Go to ~/.widelands/
2. Remove (or copy/rename) the file 'config'. This will simulate recently installed Widelands with no/default settings.
3. Start Widelands.
4. Notice the size of the window (by default set to 800x600)
5. Go to options and observe the selected resolution/size of the window. (Defaults to 640x480, which is the smallest/last option)
6. Without making any changes, click 'Apply '
Expected result:
Since no changes have been made from default, nothing should change.
Actual result:
The window is resized to 640x480 since that was selected.
It seems Widelands and options defaults to different values for resolution when none have been set in the config file. A possible solution would be to create a more detailed initial config when loading Widelands for the first time.
Widelands bzr r5828 on Ubuntu 10,10
Changed in widelands: | |
importance: | Undecided → Low |
Jepp - haven't noticed this for a while, properly because I have a config file most of the time ;)
Thanks for reporting! :)
Fixed in bzr rev. 5835