Menu

#254 Tux Paint window don’t refresh when alt-tabbed into

v0.9.29
closed
nobody
None
1
2022-09-28
2022-07-03
No

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.

Discussion

  • William Kendrick

    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). My tuxpaint --verbose-version reports:

    Built with these options:
      SDL version 2.0.10
      Built for POSIX
      Using software surface  (no USE_HWSURFACE)
      Using 32bpp video  (VIDEO_BPP=32)
    ...
    

    Are you using the SDL1.2 or SDL2 version? Are you on X-Window or Wayland? Thanks in advance!

     
  • William Kendrick

    • Group: v0.9.28 --> v0.9.29
     
  • Karl Ove Hufthammer

    I’m using the master branch:

    Tux Paint
    Version 0.9.29 (2022-07-04)

    Built with these options:
    SDL version 1.2.50
    Built for POSIX
    Using software surface (no USE_HWSURFACE)
    Using 32bpp video (VIDEO_BPP=32)
    Prints as PostScript (PRINTMETHOD_PS)
    Threaded font loader enabled (FORKED_FONTS)

    I can reproduce the bug 100% on X11, but not at all on Wayland.

     
  • Karl Ove Hufthammer

    And using the sdl2.0 branch , I don’t get this problem.

     
  • William Kendrick

    I am on SDL 1.2.15 (vs 1.2.50 that you are on), for what it's worth. :-/

     
  • Karl Ove Hufthammer

    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.

     
  • William Kendrick

    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/

     
  • William Kendrick

    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!

     
  • William Kendrick

    • status: open --> closed
     
  • William Kendrick

    Closing.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.