Bug 416237

Summary: Window showing preview of gtk3 theme has no window decoration on Wayland
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_styleAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2020-01-14 10:26:35 UTC
Created attachment 125111 [details]
screenshot

STEPS TO REPRODUCE
1. start Wayland session
2. open system settings > application style > gnome/gtk application style
3. click on the button to show preview of gtk3 theme

OBSERVED RESULT
As we can see in the attached screenshot, window showing preview of gtk3 theme has no window decoration

EXPECTED RESULT
window showing preview of gtk3 theme should have window decoration

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.17.80
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Comment 1 Nate Graham 2020-01-14 23:07:19 UTC
Well that's odd.
Comment 2 Patrick Silva 2020-09-18 20:16:10 UTC
There is no button to preview gtk theme on Plasma 5.20 beta.
Is this an intentional change?
Comment 3 David Edmundson 2020-09-27 20:28:37 UTC
>There is no button to preview gtk theme on Plasma 5.20 beta.

The button will show/hide itself depending on whether it finds the executable: "gtk_preview". I don't know where that is meant to come from.
Comment 4 Patrick Silva 2021-05-16 18:15:25 UTC
(In reply to David Edmundson from comment #3)
> The button will show/hide itself depending on whether it finds the
> executable: "gtk_preview". I don't know where that is meant to come from.

On neon unstable it comes from kde-config-gtk-style-preview package.

$ sudo apt-file search gtk_preview
[sudo] password for myuser: 
kde-config-gtk-style-preview: /usr/lib/x86_64-linux-gnu/libexec/gtk_preview

kde-config-gtk-style-preview is already installed here but
still no "Preview" button in Application Style KCM.
Comment 5 Patrick Silva 2021-06-09 18:18:04 UTC
Preview button is back and I can't reproduce this bug. :)

Operating System: Arch Linux
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland