Bug 490133

Summary: Window background not taken from QStyle, breaking styles like Oxygen that use a fancy background (in this case, a gradient)
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Piotr Doroszewski <piotrekd>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, kde, kdedev, nate, noahadvs, notmart
Priority: NOR    
Version: 6.7.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: solid vs gradient, buggy vs correct

Description Piotr Doroszewski 2024-07-11 23:22:49 UTC
Created attachment 171588 [details]
solid vs gradient, buggy vs correct

SUMMARY

Some of the newer (or rewritten) KDE applications don't support the Oxygen theme, default in the KDE 4 line and still shipped with KDE Plasma, properly. When this theme is used, Qt windows should have gradient backgrounds to prettily match the window bar.

STEPS TO REPRODUCE
1. Enable the Oxygen window theme in System settings > Colors & Themes > Application Style
2. Run Spectacle, Skanpage, Elisa… or just restart System settings.

OBSERVED RESULT
A solid gray color is used for the background.

EXPECTED RESULT
A gradient matching the window title bar should be used for the background.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
The problem doesn't exist in external (non-KDE) Qt applications (LXQt or other) unless they decide to use their own theming independent from the system-wide one.

Maybe this is related to the new Kirigami framework, but I am not sure.
Comment 1 Piotr Doroszewski 2024-10-09 16:11:24 UTC Comment hidden (spam)
Comment 2 Piotr Doroszewski 2024-11-09 18:50:39 UTC Comment hidden (spam)
Comment 3 Nate Graham 2024-11-12 15:14:27 UTC Comment hidden (spam)
Comment 4 Piotr Doroszewski 2024-11-13 18:39:47 UTC Comment hidden (spam)
Comment 5 Nate Graham 2024-11-13 19:09:19 UTC Comment hidden (spam)