New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shadow missing on frameless windows in linux #2380
Comments
Whether to show shadow for a frameless window completely depends on the window manager, on OS X the real frameless window doesn't have shadow too and it is fixed by using a window with frame while resizing the content area to covert the frame. However I don't think there is a way to fix this on Linux, because the frame and shadow are drawn by the window manager. |
@zcbenz is there a reason that you couldn't take a similar approach to OSX on linux, covering the frame? |
@tommoor The window manager is in charge of drawing the frame, and there is no simple way to cover what's drawn by the window manager. |
Ew. I see the problems, unfortunately this makes the frameless window not too useful at all on Linux as if you draw the shadow yourself in css then the window can't be resizable (the real bounds are at the edge of the shadow). And if you don't draw a shadow then a white window completely merges into other white windows. We might need some wacky alternative ideas on how to achieve this! |
I'm closing this since unfortunately this is a platform limitation of Linux and I don't see any way to work around it. |
I don't beleive this is an issue with wayland anymore is it? CSD is basically the norm there. |
We've found that under linux when setting a browser-window to
frame: false
then it loses it's shadow. Note, this is not a transparent window, just a frameless one. This was tested on Ubuntu 14.04.Expected behaviour is that the shadow remains as it does on OSX and Windows.
The text was updated successfully, but these errors were encountered: