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

            Bug ID: 371480
           Summary: SDL2 Apps causing desktop effects to disappear,
                    task-manager function weirdly, all desktop widgets to
                    disappear and sometimes kwin to crash
           Product: kwin
           Version: 5.7.5
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: marty188...@gmail.com

While I'm working on my Ray Tracer I found that causes the entire desktop to
lose all the effects,  task-manager function weirdly (missing some opened
window), all desktop widgets to disappear and sometimes kwin to crash.
Everything will comeback to normal after closing the SDL2 window.
After more testing, I found that its SDL2 causing it. Even running simple SDL2
tutorial codes will resulting in the situation described above.
Note that I seems to only happen with SDL2. Creating and running SDL1 windows
does not cause the problem.

My ray tracer: https://bitbucket.org/Seanstone5923/simpleray
SDL2 tutorial code that I found that can reproduce the issue:
http://lazyfoo.net/tutorials/SDL/02_getting_an_image_on_the_screen/index.php

Reproducible: Always

Steps to Reproduce:
1. Compile and run any SDL2 program (LazyFoo's tutoral or my Ray Tracer will do
the job)
2. Weird things described above starts to happen

Actual Results:  
Weird things described above starts to happen

Expected Results:  
Work properly.

 - Happens on both Intel and Nvidia GPU(proprietary driver, not tested on
Mesa), not tested on AMD GPUs.
 - No matter what composting back-end I'm using. It will happen.
 -  Tested with SDL 2.0.4

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

Reply via email to