maphew

Invisible window borders

June 19, 2024

Windows 10, Windows Server

Here is a screenshot of one File Explorer window laid over top of another. The only way to tell where the top window ends is by looking at what is blocked in the background window. And if the background window contents are all white it's impossible to see that.

From < https://superuser.com/questions/1775167/how-do-i-get-the-border-to-show-on-the-windows-file-explorer-when-active>

Option A:

Checking the "Show accent color on title bars and window borders" is another option.

From < https://superuser.com/questions/1775167/how-do-i-get-the-border-to-show-on-the-windows-file-explorer-when-active>

Option B:

This appears to have been part of a tweak to Windows 10 UI settings to reduce CPU load on this one computer I was using. Checking the Show shadows under windows option in Windows System Properties >> Advanced >> Performance Options >> Visual Effects restores the window border outline.

From < https://superuser.com/questions/1775167/how-do-i-get-the-border-to-show-on-the-windows-file-explorer-when-active>

 

Electron Apps

add css to body to fix (= add border to framelesswindow)

border:1px soild lightgrey;
overflow:hidden;
box-sizing:border-box;

From < https://stackoverflow.com/questions/47196076/add-border-to-frameless-window-electron>