Bug 425434

Summary: Applications using Qt CSD have no outer shadow
Product: [Plasma] kwin Reporter: Fabio Forni <public>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kde, nate
Priority: NOR    
Version: 5.19.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabio Forni 2020-08-16 19:29:58 UTC
SUMMARY
Telegram uses this library: https://github.com/lirios/materialdecoration
Telegram is a Qt-based application. Recently, it included materialdecoration on Linux which enabled CSD. This makes Telegram have no outer shadow exactly like Plasma used to do with GTK3 applications not so long ago.

STEPS TO REPRODUCE
1. Install a recent version of Telegram (say 2.2)
2. Run it

OBSERVED RESULT
The application window has no shadow.

EXPECTED RESULT
The application window should have an outer shadow like all the other Qt-based applications.

SOFTWARE/OS VERSIONS
Operating System: Solus 4.1
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2
Kernel Version: 5.6.19-158.current
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-2600K CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon R9 200 Series

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2020-09-03 10:03:29 UTC
Since the window didn't request server-side decorations, this cannot be fixed in the Breeze decoration. Reassigning to kwin developers for inspection.
Comment 2 David Edmundson 2020-09-03 10:20:42 UTC
Please report to the client in question. 

We can only follow what the client is doing.