window-shadows icon indicating copy to clipboard operation
window-shadows copied to clipboard

No Shadows on Linux running under Wayland

Open george-norton opened this issue 2 years ago • 1 comments

When running GNOME under Xorg I get shadows as expected, but when running GNOME under Wayland I don't. I understand that Wayland only supports client side decorations, so some support in Tauri is probably required. Googling around I see various references to _GTK_FRAME_EXTENTS, which supposedly enables Windows to extend their drawable area to include an additional border for shadows, but presumably something still needs to actually draw a shadow in that region..

george-norton avatar Jul 20 '23 21:07 george-norton

Decoration rules under wayland is a known wide-spread problem (see 6562). The only workaround at the current moment is using std env to make the backend think it's an x session but that's very impractical and causes issues when it comes to hidpi.

Moreover, I don't think this issue should be mentioned here, since window-shadows explicitly states the following:

Linux: Unsupported, Shadows are controlled by the compositor installed on the end-user system.

p0ryae avatar Aug 16 '23 04:08 p0ryae