Widelands crashes in fullscreen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Found on r7670 on Win10. It only happens in fullscreen mode, but then for every resolution I tried. I am not exactly sure how many different bugs I describe.
Singleplayer -> New Game:
When I move the mouse for the first time, the background moves a bit upwards. Every time I move the mouse, the bottom of the screen flickers. I am unable to click on OK or Cancel. See attached screenshots.
It is possible to start a map by double-clicking on it. When I click on "Start Game" in the next dialog, the screen gets white and Widelands crashes.
Multiplayer -> LAN -> New Game -> Map:
As soon as I move the mouse pointer, I get the white screen and Widelands does not respond any more.
Editor:
Even when I do not use the mouse pointer, I get a white screen and a crash.
In all three cases, the stderr.txt is empty. The last few lines from stdout.txt are unsuspicious:
Normal game/Multiplayer:
**** GRAPHICS REPORT ****
VIDEO DRIVER windows
pixel fmt 370546692
size 1600 900
**** END GRAPHICS REPORT ****
[Host]: starting up. // Only in multiplayer
Editor:
**** GRAPHICS REPORT ****
VIDEO DRIVER windows
pixel fmt 370546692
size 1600 900
**** END GRAPHICS REPORT ****
Loading the world took 877ms
Font file not found. Falling back to serif: serif
Could not find file: could not find file or directory: i18n/fonts/serif
(The missing font file also happens in windowed mode.)
All other menus are fine, and replays work, too.
I usually do not play in fullscreen mode, so I cannot tell when this issue appeared for the first time.
Changed in widelands: | |
milestone: | none → build19-rc1 |
tags: |
added: graphics removed: graphic |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
Thanks for reporting.
I'm not able to trigger this in fullscreen on Ubuntu (WL r7679), but it might be a Windows-only/driver issue.
Could go a bit more into detail about how you switched to fullscreen/how to trigger this? Also, did you change the resolution at the same time?
I've had issues with Widelands in the past when changing resolution. In that case the game would expand the window to a larger size, but if you moved the cursor there it failed (or "flickered") when attempting to render these new parts. I *think* buttons were still possible to click if you managed to click the right section when moving the cursor downwards to the cancel button, but I don't remember whether they did or not.