I’m using Plasma 5.27.12 from Kubuntu backports in a machine that runs Ubuntu 24.04.2 LTS (upgraded from 22.04 LTS). Yesterday I fixed an issue with AMD GPU drivers and, since then, all GTK applications (I think that’s the common pattern) feature a thick border decoration on non-maximized windows.
Yes, but what exactly needs to be fixed? My laptop has hybrid graphics and I’m using open source AMDGPU and proprietary NVIDIA, I don’t even know which ones are to blame.
Installing plasma-workspace-wayland and plasma-wayland-protocols enabled Wayland entry in display manager and now my shadows are back.
From my little knowledge about the X11 vs Wayland controversy, I know some applications are not ready (I’ll check Teams screen sharing later) and, indeed, I cannot drag KNotes windows from title bar, neither regular drag nor Alt+Drag (interestingly, Win*+Drag works!).
I’ll figure out what’s better or at least less worse.
(*) Sorry, I never remember how this key is called on Linux.
Since drivers appear to be alright, as Wayland demonstrate, I’m positively sure that some package or setting was gone when I was fixing stuff. If only I knew which one…
Yes, there is a problem with your drivers. You have no more compositing enabled, hence no shadows for kde apps and the thick borders around gtk apps. The thick borders are the gtk shadows, their transparent part is now opaque. Fix your drivers, then your problems will disappear. Don’t have high hopes on wayland, kde/plasma 5 is not very usable with it, wayland is only stable in the plasma 6 series.
Disable all backport repositories, remove all kde packages and install them again from the standard Kubuntu repositories. The backports come without warranty and are not officially supported. Then fix your drivers, if you have hybrid graphics, a mismatch between the drivers is most likely the culprit. Remove all your nvidia drivers and remove your xorg.conf and related configuration files. Probably your proprietary nvidia driver messed up your configuration. Once you have compositing running again with your amd drivers, add back your nvidia driver, see if you have problems, if so, try to find the reason exactly, then add back your backports. Do everything bit by bit, so you can triage the package or configuration that causes your graphics to break.
I followed your advice and the problem is fixed now.
I can’t tell the exact package that was causing it, because I tried lots of things that didn’t work. But, at some point, I tried to purge several mesa and libmesa packages in order to reinstall them later, I let apt cascade-remove the packages which depended on them (essentially, everything related to desktop environments), and when I reinstalled everything back my shadows returned.