Bug 417746

Summary: No shadows for Chromium based browsers in CSD
Product: [Plasma] kwin Reporter: Mohan <mohan.ram>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kde, kde, nate
Priority: NOR    
Version: 5.18.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://bugs.chromium.org/p/chromium/issues/detail?id=1052697&can=2&q=No%20drop%20shadow%20GTK
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Vivaldi browswer with CSD.

Description Mohan 2020-02-16 13:14:06 UTC
Created attachment 126076 [details]
Vivaldi browswer with CSD.

When turning off native window title bar, the shadow is not present in all Chromium based browsers (Vivaldi, Chromium, Brave, etc.)

STEPS TO REPRODUCE
1. Launch the browser (in my case Vivaldi)
2. Remove native window decoration, use CSD

OBSERVED RESULT
No shadow around the active window.

EXPECTED RESULT
Shadow around the active window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.10
(available in About System)
KDE Plasma Version: 5.18
KDE Frameworks Version: 5.67
Qt Version: 5.12.4
Comment 1 Nate Graham 2020-02-16 16:10:02 UTC
Actually I'm starting to wonder if this is Chromium's fault. Does it in fact define its own shadows when using CSDs?

Kai, do you know?
Comment 2 David Edmundson 2020-02-16 16:22:35 UTC
It is Chrome's fault
Comment 3 Nate Graham 2020-02-16 16:30:40 UTC
Thanks, I suspected as much.

Mohan, can you file a bug on Chrome/Chromium requesting that the app draw shadows when using client-side decorations?