Proton panels should have the correct border colour in default/Light mode
Categories
(Firefox :: Theme, task, P1)
Tracking
()
People
(Reporter: mconley, Assigned: bigiri)
References
(Blocks 1 open bug)
Details
(Keywords: helpwanted, Whiteboard: [proton-door-hangers] [proton-uplift])
Attachments
(3 files)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
41.25 KB,
image/png
|
Details | |
1.39 MB,
image/png
|
Details |
Our panels have a --arrowpanel-border-color
CSS variable that they use to set the border colour of the panels.
We should update the rules so that the Proton panels have the --arrowpanel-border-color
match the value of --arrowpanel-background
when in default / Light mode.
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
According to mstange, having an invisible border is not possible on macOS. This is because the operating system is drawing the "shadow rim" around the panel, and we don't have any influence over it.
I seem to be able to do this for Windows though. Unsure about Linux.
Comment 2•2 years ago
|
||
Let me clarify though: The macOS shadow rim is drawn outside any border we draw, in addition to it. So we should still remove any border from our side. Then the only remaining "border" is the shadow rim, which we don't have control over.
Reporter | ||
Comment 3•2 years ago
|
||
Hey Gijs, speaking to amylee, it sounds like we want to apply a hairline-color border on all panels on the platforms where we're applying borders to modals. Do you know which platforms those are?
Comment 4•2 years ago
•
|
||
(In reply to Mike Conley (:mconley) (:⚙️) (Catching up on needinfos) from comment #3)
Hey Gijs, speaking to amylee, it sounds like we want to apply a hairline-color border on all panels on the platforms where we're applying borders to modals. Do you know which platforms those are?
I'm confused; the modals spec doesn't have any borders, nor does it have platform-dependent ones. It only has box shadows, and radiuses its content.
Reporter | ||
Comment 5•2 years ago
|
||
From UX, it sounds like border styling on our panels isn't a blocker.
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Promoted to P1 per conversation in MR1 triage call this morning
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 7•2 years ago
|
||
Set proton panel border colors to match spec for light/dark mode in the .css and manifest.json files.
Updated•2 years ago
|
Comment 8•2 years ago
|
||
It seems like this is already fixed:
Is there anything else that needs to happen here?
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Pushed by bigiri@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fbb0306fdaa5 Proton panels should have the correct border colour in light mode. r=mconley,desktop-theme-reviewers,dao
Comment 12•2 years ago
|
||
bugherder |
Comment 13•2 years ago
|
||
Just a gentle reminder to request uplift, this is blocking a P2a (bug 1706154)
Comment 14•2 years ago
|
||
Comment on attachment 9217149 [details]
Bug 1696500 - Proton panels should have the correct border colour in light mode. r=mconley
Beta/Release Uplift Approval Request
- User impact if declined: Required for Proton/MR1
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: The light / system mode border for panels should be rgb(240,240,244). The change in this patch does not affect dark / dark-system mode.
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): CSS/web-extension theme only change
- String changes made/needed: none
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Comment on attachment 9217149 [details]
Bug 1696500 - Proton panels should have the correct border colour in light mode. r=mconley
Approved for 89 beta 6, thanks.
Comment 16•2 years ago
|
||
bugherderuplift |
Comment 18•2 years ago
|
||
Hi jared
I checked this on windows10 64bit, Macos 10.14 and Ubuntu 20 64bit. Using firefox beta 89.0b8 and nightly 90.0a1
I had different results. Perhaps its because of the difference in each operating sytem? There was a big difference in ubuntu 20 tho.
What i did was to go to http://permission.site/ and then hit some of those like "microphone" and then check the border right next to the white area.
Here is what i got:
(Deepin picker - ubuntu 20)
C4C4C4 on system theme
F0F0F4 on light theme
( Windows 10 - using Rulerapp )
FFF0F0F4 on system theme
FFF0F0F4 on light theme
(MacOs 10.14 using xScope)
ececf1 on system theme
ececf1 on light theme
please let me know if i need to open another bug or if its fine.
thanks,
Hi Jared, did you have time to look over the above comment?
Comment 20•2 years ago
|
||
I did not have time. I'm on PTO this week. Harry, could you take a look?
Comment 21•2 years ago
|
||
(In reply to Pablo from comment #18)
There was a big difference in ubuntu 20 tho.
It's expected that the Ubuntu system theme will use different colors than Firefox Light. You got #f0f0f4 when using the Firefox Light theme, so this is working as expected.
(MacOs 10.14 using xScope)
ececf1 on system theme
ececf1 on light theme
Are you sure? I just measured the border color with Xscope on macOS and got #f0f0f4, as expected. If you're getting something else, could you please post a screenshot?
Comment 22•2 years ago
|
||
Comment 23•2 years ago
|
||
I checked again on a mac and the code started to show up correctly, but it was because its a Mac 10.15
when i switched to Mac 10.14.6 then i started to see the ececf1 code again, (attached screenshot)
Comment 24•2 years ago
|
||
Fix was ferified in Beta and nightly since comment#18 using Ubuntu 20, Windows 10 and Mac 10.15
new bug was opened to investigate why on mac 10.14 it gives a different color:
Description
•