You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Window needs a border if shadows are turned off #1585
SPI_GETDROPSHADOW:
Determines whether the drop shadow effect is enabled. The pvParam parameter must point to a BOOL variable that returns TRUE if enabled or FALSE if disabled.
Even a 1 pixel border could/would probably be great design wise with or without shadow. Easier to do than modifying electron and having specific behavior. On windows using the accent color would be pretty great.
Reacted by Jon Saffron, Leon Hyoung, rkedge, ahdung and David Beavon
changed the title [-]Window needs a border if shadows are turned off [windows][/-][+]Window needs a border if shadows are turned off[/+]on May 17, 2017
Okay, we're definitely renaming @donokuda to @donoku
Anyway, yes, we can totally add a border when normal shadows are disabled but I would like to have some more data on how common this is first since it appears to be a non-trivial effort to determine whether shadows are drawn or not. I image this isn't a terribly common thing but I have little data to back that up.
If someone would like to open a PR to add support for this in electron that'd be great.
Anyone using a basic or classic desktop theme within windows will experience this problem. I agree with the comment above, it's well worth just adding a very thin border in all cases.
Does anyone know if this is being worked on? I am working on Windows Server 2012 R2 and its really pain to not to see the application border. You have no idea how many times a day I accidentally switch applications just because I wanted to move Github Desktop window.
Unfortunately for some reason I have no shadows visible even if option is enabled in Visual Effects. If someone has some solution for that it would be greatly appreciated. Until then I vote for some kind of a visual clue to where the application border is.
Below screenshots are to demonstrate some of the issues
Anyone can point me to where the border is on the bottom, not header so that I can resize?
Anyone can say whether this is a Github Desktop on the google.com site?
When I have multiple Github.com windows open the site's header blends in with the application header with no border.
Thanks
Reacted by Albin Ekblom, lvsltz, rkedge, ahdung and Cuixiping
I've just noticed that the README.md includes a screenshot that shows a border. However my latest installed version still missing a border. I have version 1.4.3 installed. Am I missing something? Is there an option or switch I have to change?
Activity
shiftkey commentedon May 17, 2017
Some initial thoughts:
kevinsawicki commentedon May 17, 2017
Yeah, if there is an API to get this information or know when this OS setting has changed it would seem worth adding to https://electron.atom.io/docs/api/system-preferences/
albinekb commentedon May 17, 2017
Maybe this is it: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx#SPI_GETDROPSHADOW
🤔
shiftkey commentedon May 17, 2017
@albinekb maybe? I'd have to remember how we did detection in WPF because I think we had similar work to do with the classic app.
rlabrecque commentedon May 17, 2017
Even a 1 pixel border could/would probably be great design wise with or without shadow. Easier to do than modifying electron and having specific behavior. On windows using the accent color would be pretty great.
[-]Window needs a border if shadows are turned off [windows][/-][+]Window needs a border if shadows are turned off[/+]joshaber commentedon May 18, 2017
LOL no that's crazy talk.
shiftkey commentedon May 18, 2017
Paging @donoku and @niik for general feels before I return to the C++ mines
niik commentedon May 18, 2017
Okay, we're definitely renaming @donokuda to @donoku
Anyway, yes, we can totally add a border when normal shadows are disabled but I would like to have some more data on how common this is first since it appears to be a non-trivial effort to determine whether shadows are drawn or not. I image this isn't a terribly common thing but I have little data to back that up.
If someone would like to open a PR to add support for this in electron that'd be great.
shiftkey commentedon May 18, 2017
If I can't get to this through the inbuilt system preferences I'll put together a PR.
JonSaffron commentedon Oct 24, 2017
Anyone using a basic or classic desktop theme within windows will experience this problem. I agree with the comment above, it's well worth just adding a very thin border in all cases.
aleksey-sh commentedon Jun 25, 2018
Does anyone know if this is being worked on? I am working on Windows Server 2012 R2 and its really pain to not to see the application border. You have no idea how many times a day I accidentally switch applications just because I wanted to move Github Desktop window.
Unfortunately for some reason I have no shadows visible even if option is enabled in Visual Effects. If someone has some solution for that it would be greatly appreciated. Until then I vote for some kind of a visual clue to where the application border is.
Below screenshots are to demonstrate some of the issues
Anyone can point me to where the border is on the bottom, not header so that I can resize?

Anyone can say whether this is a Github Desktop on the google.com site?
When I have multiple Github.com windows open the site's header blends in with the application header with no border.

Thanks
oe commentedon Aug 27, 2018
Any news?
aleksey-sh commentedon Nov 9, 2018
I've just noticed that the README.md includes a screenshot that shows a border. However my latest installed version still missing a border. I have version 1.4.3 installed. Am I missing something? Is there an option or switch I have to change?
JannesMeyer commentedon Oct 5, 2019
I'm wondering if there are any news on this issue?
Visual Studio Code (another Electron app) offers a setting to enable native title bars/window borders:
ahdung commentedon Feb 26, 2021
Need native window mode.
jimetevenard commentedon Nov 14, 2021
Any updates from Github team on this?
This is still very annoying.
BrendaHutchinson commentedon Nov 15, 2021
steveward commentedon Nov 3, 2022
Requested in #15554.
steveward commentedon Jan 9, 2023
Requested in #15896.
0009-0009-1013-986X commentedon Jan 12, 2023
Can someone ban @Achayou from the repository, please?