MozillaZine

Top window border not drawn

Discussion about official Mozilla Firefox builds
Caspid

User avatar
 
Posts: 575
Joined: December 18th, 2005, 4:01 pm

Post Posted July 12th, 2017, 4:01 pm

In W10, the top 1px window border is no longer drawn. I believe it's a recent change, as I just noticed. Can anyone help me narrow down the CSS change responsible? Thank you!
"Know what I pray for? The strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference." -Calvin

Alice0775

User avatar
 
Posts: 2575
Joined: October 26th, 2007, 11:25 pm
Location: OSAKA JPN

Post Posted July 12th, 2017, 8:48 pm

It seems to be a known issue.
[*]#1378095 [Core:Graphics: Layers]-Application window top border edge missing on Windows 10 [Win]

Caspid

User avatar
 
Posts: 575
Joined: December 18th, 2005, 4:01 pm

Post Posted July 13th, 2017, 5:48 am

Ah, I see. Good to know it's not intentional (although I've also wondered whether it's possible to remove all the window borders via CSS). Thank you!
"Know what I pray for? The strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference." -Calvin

Sdar
 
Posts: 27
Joined: February 6th, 2012, 4:51 am

Post Posted July 15th, 2017, 7:38 pm

Caspid wrote:I've also wondered whether it's possible to remove all the window borders via CSS


Yes, it can be done, just can't remember how i used to do it in the past, now I'm using a theme that removes all borders except the top one so i can only explain how to remove that one:

You need to use the #main-window selector and remove its appearance ( -moz-appearance: none !important;) give it a background, for some reason the titlebar can't be used to drag the window without it, and if that doesn't remove the border you may need to play with the top margin but that will depend on the theme you're using.
example:
Code: Select all
#main-window {
    background: black !important; //needed for dragging the window using the titlebar, the color doesn't matter.
    -moz-appearance: none !important;
    margin-top: -2px !important; //Default theme probably needs -1px or 0.
}

Image

This is the only pc i have running windows and i can't remember the modifications i did to its UI so i can't give you the full answer unless i reinstall it, sorry.

Return to Firefox Builds


Who is online

Users browsing this forum: SAJewers and 3 guests