Duplicated down arrow on the profiler panel's preset selector
Categories
(Firefox :: Theme, defect)
Tracking
()
People
(Reporter: florian, Unassigned)
References
Details
Attachments
(3 files)
See attached screenshot captured on Windows 7 (I also saw this on a Windows 8.0 machine).
Comment 1•3 years ago
|
||
I don't see this on Linux :/ Can someone test on MacOS please?
Is it Windows only? Is it a regression?
Updated•3 years ago
|
Reporter | ||
Comment 2•3 years ago
•
|
||
(In reply to Julien Wajsberg [:julienw] from comment #1)
Is it Windows only? Is it a regression?
It's Windows < 10. And I don't know if we ever tested our profiler panel (since we removed the add-on) on Windows 7.
Comment 3•3 years ago
|
||
I feel like appearance: none
doesn't work properly on this platform.
I'm moving this to the widgets team, they might have some more insight.
Comment 4•3 years ago
|
||
This is where the CSS code for this component is: [1] and below
Comment 6•3 years ago
|
||
It would be interesting to know how this simple testcase behaves on various platforms.
Comment 7•3 years ago
|
||
Comment 8•3 years ago
|
||
hey Florian, can you please have a look and share how attachment 9213987 [details] behaves on Windows (both 10 and 7)? And possibly MacOS too? Thanks!
Comment 9•3 years ago
|
||
It's Windows < 10. And I don't know if we ever tested our profiler panel (since we removed the add-on) on Windows 7.
Actually Florian, can you also double check if you enabled proton on some of your tries?
I see no difference for the simple testcase with/without proton, but I do see the double arrow for the profiler popup on Linux when I enable proton.
Reporter | ||
Comment 10•3 years ago
|
||
On Windows 10, I initially didn't see it because I had the dark theme where it's not visible. On the default or light theme, the bug is visible on Windows 10.
On Mac I don't see the bug with the default settings, but it becomes visible if I enable browser.proton.enabled on about:config.
One of the down arrow comes from https://searchfox.org/mozilla-central/rev/be413c29deeb86be6cdac22445e0d0b035cb9e04/browser/themes/shared/customizableui/panelUI.inc.css#2611 This ::after
pseudo element feels like a hack we should remove. It was apparently added in bug 1639144, but there's not a lot of explanation about why it was needed.
The other down arrow comes from https://searchfox.org/mozilla-central/rev/be413c29deeb86be6cdac22445e0d0b035cb9e04/toolkit/themes/shared/menulist.inc.css#56 (added in bug 1697863) when proton is enabled, and from native theming when proton is not enabled. Setting appearance: none;
on the dropmarker
element gets rid of it.
Comment 11•3 years ago
|
||
Yeah, I think we should look at removing all the custom styling code for this, like ntim suggested in bug 1702469.
Comment 12•3 years ago
|
||
I think this is now fixed.
Reporter | ||
Comment 13•3 years ago
|
||
(In reply to Florian Quèze [:florian] from comment #10)
One of the down arrow comes from https://searchfox.org/mozilla-central/rev/be413c29deeb86be6cdac22445e0d0b035cb9e04/browser/themes/shared/customizableui/panelUI.inc.css#2611 This
::after
pseudo element feels like a hack we should remove. It was apparently added in bug 1639144, but there's not a lot of explanation about why it was needed.
This code was moved into a @media not (-moz-proton)
block in bug 1703625, and entirely removed in bug 1714462.
Description
•