Closed
Bug 1404074
Opened 7 years ago
Closed 6 years ago
White space at the edge of the window with Light/Dark theme in windowed mode with compact UI density
Categories
(Firefox :: Theme, defect, P4)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Eddwardiq, Unassigned)
References
Details
(Keywords: regression, Whiteboard: [reserve-photon-visual])
Attachments
(1 file)
13.76 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20170928100123
Steps to reproduce:
After bug 1403951 landed (which fixed issues with Light/Dark themes after bug
1366405) there seems to be a minor bug with a Light theme. Maybe it also affects Dark theme but I can not see any issues with this theme, however is still possible that dark color is just hiding it.
In case of Light theme 2 px from top of the browser are not rendered and showed as white.
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Reporter | ||
Comment 1•7 years ago
|
||
Yep, it is also affecting Dark theme, the line is not white but black and since the Dark theme is very dark (almost black) it's almost invisible.
Reporter | ||
Updated•7 years ago
|
Summary: Top border with Light theme is not rendered (white) in windowed mode after Bug 1403951 → Top border with Light/Dark theme is not rendered (white/black) in windowed mode after Bug 1403951
Reporter | ||
Comment 2•7 years ago
|
||
It seems to be affecting only Compact density since only in this density there is a small gap above tabs in windowed mode. Looks good in Normal / Touch.
Comment 3•7 years ago
|
||
The border is actually there, but there's another white line next to it.
Assignee: dao+bmo → nobody
Status: ASSIGNED → NEW
Priority: P1 → P4
Summary: Top border with Light/Dark theme is not rendered (white/black) in windowed mode after Bug 1403951 → White space at the of the window with Light/Dark theme in windowed mode with compact UI density
Reporter | ||
Comment 4•7 years ago
|
||
It's a minor glitch for sure. Maybe it is fixable from the other side since the question is why is there a 2px gap in windowed mode between top border of the tab and border of the browser. I don't think there is such gap in specs and it serves no purpose. In other densities there isn't.
userChrome.css workaround:
> :root[uidensity="compact"] > #titlebar {
> margin-bottom: -31px !important;
> }
Reporter | ||
Comment 6•7 years ago
|
||
(In reply to Kestrel from comment #5)
> userChrome.css workaround:
>
> > :root[uidensity="compact"] > #titlebar {
> > margin-bottom: -31px !important;
> > }
not quite right,
although it basically fixed the point of this bug (no more gap with the white space), but regressed the maximized state.. title bar is too narrow and the tab highlight is not visible...
> :root[uidensity="compact"][sizemode="normal"] > #titlebar {
> margin-bottom: -31px !important;
> }
Reporter | ||
Comment 8•7 years ago
|
||
Looks good to me, and it doesn't seem to break anything else. All themes are fine and behaviour is consistent with normal and touch density options.
The gap above tabs in windowed mode in compact density is not here also: http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html
so it basically fixed two things,
https://s1.postimg.org/8v5fpy9j4f/window.png
@Dao is this the way to do it ? Looks like an easy fix, can you look at it again if you have time pls ?
Flags: needinfo?(dao+bmo)
Comment 9•7 years ago
|
||
That's fine as userChrome.css workaround, but it's not a proper fix we can ship with Firefox.
Flags: needinfo?(dao+bmo)
Updated•7 years ago
|
Summary: White space at the of the window with Light/Dark theme in windowed mode with compact UI density → White space at the edge of the window with Light/Dark theme in windowed mode with compact UI density
Updated•7 years ago
|
status-firefox57:
--- → ?
Reporter | ||
Comment 10•7 years ago
|
||
I'm just wondering if this bug and bug 1398395 are not related together. The unnecessary space below caption buttons in windowed compact mode is about the same as unnecessary space above tabs in windowed mode. Moving everything a bit "up" could solve both issues or better saying three issues, since white/black space above tabs are due to this space which is not as per spec.
Updated•7 years ago
|
Updated•7 years ago
|
Flags: qe-verify+
Comment 13•6 years ago
|
||
If suggested userChrome fix doesn't cut it, where does one look for a proper solution?
I assume the negative margin is not hard coded? So, if I wanted to fix this do I look for a place where it is calculated?
I really want this fixed, and would like to help if I can. Just need some pointers.
Comment 14•6 years ago
|
||
The 2px gap above the tabs in compact density mode is correctly themed with light/dark themes both with and without titlebar accent color on latest Nightly 67. The gap itself is Bug 1398395.
Fixed by Bug 1503306.
Updated•6 years ago
|
Keywords: regression
You need to log in
before you can comment on or make changes to this bug.
Description
•