Bug 476889

Summary: Konsole claims the desktop doesn't support transparency
Product: [Applications] konsole Reporter: Ridge <kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: nicolas.fella
Priority: NOR Keywords: qt6, wayland
Version: 24.01.75   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Konsole's terminal output when browsing its spawned windows.

Description Ridge 2023-11-12 18:47:58 UTC
Created attachment 163084 [details]
Konsole's terminal output when browsing its spawned windows.

SUMMARY
In Konsole, when using a colour scheme with transparency enabled, the transparency effect does not work, and the settings menu claims:
"This color scheme uses a transparent background which does not appear to be supported on your desktop"

This message is seen repeated several times when switching between dialogs spawned by Konsole (settings window, profile editing window, etc.)

kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11

Will test again on X11 after submitting this.

STEPS TO REPRODUCE
1. Begin a Plasma 6 Wayland session
2. Enable transparency in Konsole
3. Apply the theme
 

OBSERVED RESULT
The terminal background is opaque.

EXPECTED RESULT
A transparent background in the terminal emulator.

SOFTWARE/OS VERSIONS

Linux: 6.6.1
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
This happens on both of my machines, one with an AMD RX 6700 XT, and the other with Vega 8 integrated graphics. Both also use an AMD Ryzen 7 7700X and Ryzen 5 5600H respectively.
I don't know if it's relevant, but my current Mesa version is 23.2.1

The Plasma 6 packages are binaries provided by Arch Linux.

The issue persists with a new, clean profile, and a new konsolerc.
Comment 1 Ridge 2023-11-12 19:43:05 UTC
Switching to X11, opening Konsole (and confirming transparency works there, then back to Wayland, solved this issue.. Odd!
Comment 2 Ridge 2023-11-12 19:52:08 UTC
Wait, sorry, no.. Reopening this, I genuinely thought I had logged back into the Wayland session but something felt off, and sure enough I was still in the X11 session; I must have chosen Wayland from one dropdown in SDDM, but signed in via SDDM appearing on one of my three other connected monitors and head-mounted display.
(Unrelated, but it's because of something weird that happened to SDDM after installing Plasma 6 Alpha, it's trying to display SDDM on my VR headset, which overlaps its output on my main monitor, so there's two partially overlapping SDDMs on the main monitor...)

Sorry for the spam, I must have been really confused.

It is indeed a Wayland issue in my case here. It works on Plasma 6 X11, not Plasma 6 Wayland.
Comment 3 Nicolas Fella 2023-11-12 21:16:48 UTC
Fixed with https://invent.kde.org/utilities/konsole/-/merge_requests/917