Bug 490133 - Window background not taken from QStyle, breaking styles like Oxygen that use a fancy background (in this case, a gradient)
Summary: Window background not taken from QStyle, breaking styles like Oxygen that use...
Status: CONFIRMED
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.7.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-11 23:22 UTC by Piotr Doroszewski
Modified: 2024-11-13 19:09 UTC (History)
6 users (show)

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


Attachments
solid vs gradient, buggy vs correct (547.36 KB, image/png)
2024-07-11 23:22 UTC, Piotr Doroszewski
Details

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