Bug 425434 - Applications using Qt CSD have no outer shadow
Summary: Applications using Qt CSD have no outer shadow
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-16 19:29 UTC by Fabio Forni
Modified: 2020-09-03 10:20 UTC (History)
2 users (show)

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


Attachments

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