https://bugs.kde.org/show_bug.cgi?id=394445

            Bug ID: 394445
           Summary: Taskbar doesn't repaint when running SDL application
           Product: plasmashell
           Version: 5.8.6
          Platform: Debian stable
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Task Manager
          Assignee: h...@kde.org
          Reporter: bugs...@paulinternet.nl
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Below a minimal SDL application that creates a window and quits when the user
closes a window.
(no painting takes place, so the contents of the window look a bit weird)
When running the application, the taskbar panel stops being repainted. On my
computer the taskbar consist of the application launcher, desktop switcher,
task manager, system tray icons, clock and panel edit button. They all keep
looking the same. But clicking on the taskbar still works (the right action is
executed, still no repaint though) and hovering still shows popups. When
quitting the application, everything is back to normal.
When restarting the application, everything goes back to the way it looked when
I started the application for the first time.

test.cpp:

#include <SDL2/SDL.h>

int main ()
{
        // Initialize
        SDL_Init(SDL_INIT_VIDEO);
        SDL_Window *window = SDL_CreateWindow("Test", SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED, 800, 600, SDL_WINDOW_SHOWN);

        // Loop
        SDL_Event e;
        while (SDL_WaitEvent(&e)) {
                if (e.type == SDL_QUIT) return 0;
        }
        return 1;
}

Compile with: gcc -lSDL2 -o test test.cpp

I'm only using updated software from the Debian Stable repository. The SDL
version is 2.0.5.
If this may be a bug in SDL instead or an error on my part, let me know.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to