Follow-up Comment #1, bug #23318 (project wesnoth):

I took a look at this briefly, however, I have only limited knowledge of SDL
windowing and related.

It appears that SDL Window Resize events
(http://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlresizeevent.html) are
captured in src/events.cpp by the SDL event pump:
https://github.com/wesnoth/wesnoth/blob/master/src/events.cpp#L341

They get dispatched to a pump monitor here:
https://github.com/wesnoth/wesnoth/blob/master/src/video.cpp#L48

However this only affects the preferences.

There is also (alternative? competing?) window resize event code in the GUI2
system.

https://github.com/wesnoth/wesnoth/blob/master/src/gui/widgets/window.hpp#L89

In general we have a lot of issues getting the windowing code to work
perfectly on all the different platforms. It's easy to fault SDL for not doing
more of this work for us but I think there are indeed just some straight-up
bugs in our code with regards to window resize, full screen, etc. 

FWIW on linux mint with the default cinnamon / GNOME setup I don't have any
windowing issues. I guess I could try installing  Ion or something and try to
debug this if its actually reproduceable on a linux machine, but I would
rather to talk to someone like Mordante or who else already has some knowledge
of the windowing.

Its also worth mentioning that there are (always are?) plans to migrate from
SDL 1.2 to either SDL 2.0, or to use Qt for gui, so its tempting to ignore
this until one of those happens and see if it persists.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?23318>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to