OpenGL switch to Software Rendering crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I can't switch any longer between OpenGL and software rendering in widelands.
Variant A, OpenGL active:
- deactivate OpenGL in advanced option, the moment i press apply in the options menu widelands quits. No log in stderr.txt. a new config file does not get written, OpenGL stays active
Variant B, opengl = false in config:
- activate OpenGL in advanced option, the moment i press apply i get back to the main menu, but instead of texts only white bars (see screenshot). You can still click on the buttons, but after 1-2 menu changes widelands quits, too. no output in stderr and no updated config file.
(Perhaps worth a seperate bug: when does the config file gets written? It seems not when you change settings and press apply. Only on widelands startup and correct exit?)
Confirmed with current trunk (bzr6515) on Linux.
Yes, the config file is only written on exit. I'm not sure whether that should be changed though. It might be that the crash is actually caused by a change in the configuration, and in that case it would actually be a bad idea to save the change to disk.