Bug 415297

Summary: GTK CSD windows lack decorations at session restart [X11]
Product: [Plasma] kwin Reporter: Ismael Asensio <isma.af>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: gitg after session restart

Description Ismael Asensio 2019-12-17 19:48:21 UTC
Created attachment 124556 [details]
gitg after session restart

SUMMARY
When a session restarts previously opened apps, GTK windows with CSD (using _GTK_FRAME_EXTENTS) lack window borders and shadows.
Closing and reopening the app brings back the decorations. Restarting kwin_x11 however does not.

STEPS TO REPRODUCE
1. Open a GTK app with CSD (gitg in this case). Decorations and shadows are applied right.
2. Close the session (with session restart option enabled)
3. Restart the session

OBSERVED RESULT
GTK app has no window borders or shadow

EXPECTED RESULT
GTK app should have window borders or shadow

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 19.10
KDE Plasma Version: 5.17.80
KDE Frameworks Version: 5.66.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-23-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15,3 GiB

ADDITIONAL INFORMATION:
Platform: X11, OpenGL 3.0
GPU Driver: Mesa DRI Intel(R) UHD Graphics (Whiskey Lake 3x8 GT2) 
Decoration Theme: breeze
Comment 1 David Edmundson 2024-05-29 10:55:58 UTC
Please report to GTK