Bug 483286 - Widget backgrounds have transparency when X11 compositor is disabled
Summary: Widget backgrounds have transparency when X11 compositor is disabled
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 6.0.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6, X11-only
Depends on:
Blocks:
 
Reported: 2024-03-11 20:04 UTC by pinguthepenguin007
Modified: 2025-04-13 19:19 UTC (History)
6 users (show)

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


Attachments
The images depicting the bug in question. (1.48 MB, image/png)
2024-03-11 20:04 UTC, pinguthepenguin007
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pinguthepenguin007 2024-03-11 20:04:10 UTC
Created attachment 166982 [details]
The images depicting the bug in question.

SUMMARY
***
As shown on the images attached, widget backgrounds are fully opaque when the X11 compositor is enabled and have blur and transparency when it's not.
***


STEPS TO REPRODUCE
1. Log in normally.
2. Disable the compositor with a shortcut or in any other way.

(When the compositor's "Enable on startup" option in systemsettings is disabled, the issue disappears. However, it reappears if the compositor is enabled and disabled again afterwards.)

OBSERVED RESULT
All widgets' backgrounds have transparency and blur.

EXPECTED RESULT
All widgets' backgrounds should have transparency and blur effects when the compositor is enabled, and should have no effects appiled to them otherwise.


SOFTWARE/OS VERSIONS

Linux: Latest, as of 03/11/24 
KDE Plasma Version: 6.0.1
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Graphics Platform: X11
GPU: AMD Radeon HD 7700 Series
-----------------------------------------------------------
Reproduced in a VM (QEMU)

On a Wayland session, the backgrounds are opaque, too, though disabling the compositor to see if the issue happens there is not an option. :)



Sidenote: I love how the widgets look when the blur effects are applied, and it would be awesome to have those with the compositor on. :D
Comment 1 TraceyC 2025-02-24 17:58:45 UTC
Adding the x11-only keyword
Comment 2 TraceyC 2025-04-07 23:01:51 UTC
Hi,

It's been some time since this was reported. There have been many bug fixes and improvements to the compositor in the meantime. Is this still a problem with Plasma 6.3.4 or later? If so, please change this back to REPORTED. Thanks.
Comment 3 pinguthepenguin007 2025-04-10 20:42:33 UTC
(In reply to TraceyC from comment #2)
> Hi,
> 
> It's been some time since this was reported. There have been many bug fixes
> and improvements to the compositor in the meantime. Is this still a problem
> with Plasma 6.3.4 or later? If so, please change this back to REPORTED.
> Thanks.

Hello, thank you for your time :) 

This issue has actually disappeared in the 6.1 Plasma release, but returned in 6.2, so i will change it back.
Comment 4 pinguthepenguin007 2025-04-10 20:47:31 UTC
(In reply to TraceyC from comment #1)
> Adding the x11-only keyword

The widget backgrounds seem to be fully opaque on Wayland, too, they just don't do this weird behaviour i've described (as you can't really turn off the compositor in a Wayland session). Is this intended? 

Sorry for the late reply!
Comment 5 TraceyC 2025-04-10 23:55:43 UTC
> The widget backgrounds seem to be fully opaque on Wayland, too, they just
> don't do this weird behaviour i've described (as you can't really turn off
> the compositor in a Wayland session). Is this intended? 

Yes, it is intentional that you can't disable the compositor in Wayland like you were able to with X11.
Can you try to reproduce the bug in X11?

I set the version back to what it had been. Please don't change this. See the field descriptions here for an explanation
https://bugs.kde.org/page.cgi?id=fields.html(In reply to pinguthepenguin007 from comment #4)
Comment 6 pinguthepenguin007 2025-04-13 19:19:00 UTC
Soooo... This is a bit awkward, but i think the bug has fully disappeared as of at least Plasma 6.3.4, i just didn't notice it 🤦 
The reason i thought it was still an issue is that there are some effects happening on the backgrounds of the widgets, but if the widget is small they just make them look almost opaque. I don't think this is even a bug, though, and it's very much not related to this one :D 

I'll mark this one as RESOLVED FIXED, if that's okay.
Thank you guys for fixing bugs and being kool. :)


> I set the version back to what it had been. Please don't change this. See
> the field descriptions here for an explanation
> https://bugs.kde.org/page.cgi?id=fields.html(In reply to pinguthepenguin007
> from comment #4)

whoops, my bad, sorry
Good to know for the future :)