Bug 434743 - Compositing is disabled for non fullscreen applications
Summary: Compositing is disabled for non fullscreen applications
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 5.21.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-22 05:26 UTC by Felipe Kinoshita
Modified: 2023-09-06 10:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.