Bug 436376 - Preview of some third-party themes does not look correct
Summary: Preview of some third-party themes does not look correct
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwindecoration (other bugs)
Version First Reported In: 5.27.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-29 21:41 UTC by Patrick Silva
Modified: 2023-11-13 19:04 UTC (History)
3 users (show)

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


Attachments
screenshot (143.71 KB, image/png)
2021-04-29 21:41 UTC, Patrick Silva
Details
WhiteSur x1.25 decoration (111.88 KB, image/png)
2022-11-25 18:29 UTC, Ismael Asensio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-04-29 21:41:03 UTC
Created attachment 138013 [details]
screenshot

STEPS TO REPRODUCE
1. open System Settings > Appearance > Window decorations
2. click on "Get new window decorations..." button
3. search for WhiteSur Aurorae theme and install it
4. close "Get new window decorations" window
5. observe the previews of the WhiteSur window decorations 

OBSERVED RESULT
See the attached screenhot please. Only the first preview looks correct.

EXPECTED RESULT
correct preview for all installed themes

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2021-04-30 16:35:23 UTC
Heh yeah.
Comment 2 Ismael Asensio 2022-11-25 18:29:11 UTC
Created attachment 154030 [details]
WhiteSur x1.25 decoration

I suspect the bug is in the decoration itself. 

For me it just fails with the scaled versions (x1.25, x1.5) which I suspect were made to workaround some possible bug (maybe solved?), since the should be correctly scaled by kwin anyway.

And then, if you apply those decorations, they also look wrong on the actual windows. So in this regard, the screenshot is depicting an almost accurate result of the decoration, which results to be buggy.
Comment 3 Ismael Asensio 2023-11-13 19:04:05 UTC
I'm closing this, as it is most certainly a bug in the WhiteSure scaled versions.

From what I've experienced, the decoration is painting the window borders wrong (with excessive margins around) to the actual widows when it is applied, even when the screen scaling is set to 1.25x too. The previews look wrong because they are depicting the actual behavior of the decoration.

Please, feel free to reopen if your experience is different (the decoration behaves well on windows, just not on the previews)