Bug 434743

Summary: Compositing is disabled for non fullscreen applications
Product: [Plasma] kwin Reporter: Felipe Kinoshita <kinofhek>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.21.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Felipe Kinoshita 2021-03-22 05:26:55 UTC
I was messing around with lua and löve, when running a lua file that draws a (non fullscreen) window compositing is disabled causing some glitches.

STEPS TO REPRODUCE
1. install lua and love (e.g sudo zypper in lua51 love) 
2. put the following code in the file, and save it.

function love.draw()
   love.graphics.print("Hello, World!", 400, 300)
end
 
3. navigate to where the .lua file is and run it with love .

OBSERVED RESULT
Compositing is disabled making windows lose their shadows, margin widget is disabled, firefox can't render the current webpage.

EXPECTED RESULT
Compositing should not be disabled for non fullscreen applications.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80
Qt Version: 5.12.2
Comment 1 David Edmundson 2023-09-06 10:38:16 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.