Windowed graphics resolution change does not resize window
Bug #1096651 reported by
Mark Scott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Mark Scott |
Bug Description
In build17, if you change the windowed graphics resolution in the Options menu, e.g. from 800x600x32 to 1024x768x32, the size of the window changes on pressing Apply.
In trunk, this does not happen - the surface appears to change size but the OS window does not. This is more obvious when going from a larger to a smaller resolution - the right and the bottom of the window remain showing the (larger) options menu, but the smaller new surface shows main menu.
Interestingly, the new window size does take effect when the game starts (e.g. play tutorial).
Related branches
lp:~mxsscott/widelands/windowed-graphics
- SirVer: Approve
-
Diff: 414 lines (+138/-75)8 files modifiedsrc/sound/sound_handler.cc (+2/-2)
src/ui_fsmenu/base.cc (+2/-2)
src/ui_fsmenu/options.cc (+76/-24)
src/ui_fsmenu/options.h (+19/-6)
src/wlapplication.cc (+25/-4)
src/wlapplication.h (+12/-2)
src/wui/interactive_base.cc (+2/-32)
src/wui/interactive_base.h (+0/-3)
Changed in widelands: | |
assignee: | nobody → Mark Scott (mxsscott) |
status: | Confirmed → In Progress |
To post a comment you must log in.
I see the same behavior here on Ubuntu. Works fine with build 17 compiled on the same system.