Tux Paint window don’t refresh when alt-tabbed into
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
When using ‘Alt + Tab’ to switch a different window and back into (windowed) Tux Paint, the Tux Paint window isn’t repainted. That is, the window looks completely transparent, with only the title bar showing. When one clicks on a (clickable) part of the window, the application is repainted and looks normal.
This is on Linux, latest Git version.
I am unable to reproduce this with the
master
branch (SDL1.2 version) under Ubuntu 20.04.04 LTS ("focal"), using X-Window (X.Org version: 1.20.13).Ditto using the
sdl2.0
branch (SDL2 version). Mytuxpaint --verbose-version
reports:Are you using the SDL1.2 or SDL2 version? Are you on X-Window or Wayland? Thanks in advance!
I’m using the
master
branch:I can reproduce the bug 100% on X11, but not at all on Wayland.
And using the
sdl2.0
branch , I don’t get this problem.I am on SDL 1.2.15 (vs 1.2.50 that you are on), for what it's worth. :-/
Hmm, SDL 1.2.15 is the latest official release, from January 2012! It’s not even packaged in my distro, and it turns out that I’m actually using https://github.com/libsdl-org/sdl12-compat.
I'm asking folks on the -devel and -users lists if they can let us know if they see similar behavior, and under what version(s) of things (SDL, X/Wayland), to see if we can pinpoint the problems (both #253 & #254): https://sourceforge.net/p/tuxpaint/mailman/message/37676638/
Similar to my comment in #258 (https://sourceforge.net/p/tuxpaint/bugs/258/#163a), I wonder if we should just close this as "wontfix", since it's an artifact of the SDL1.2-compat library. Since Tux Paint is focused on SDL2.0 now, it's moot, moving forward, IMO!
Closing.