Closed Bug 1702292 Opened 3 years ago Closed 3 years ago

Duplicated down arrow on the profiler panel's preset selector

Categories

(Firefox :: Theme, defect)

Unspecified
Windows 7
defect

Tracking

()

RESOLVED FIXED

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).

I don't see this on Linux :/ Can someone test on MacOS please?
Is it Windows only? Is it a regression?

Flags: needinfo?(florian)

(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.

Flags: needinfo?(florian)

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.

Component: Performance Tools (Profiler/Timeline) → Widget: Win32
Product: DevTools → Core
Attached file testcase-select.html

It would be interesting to know how this simple testcase behaves on various platforms.

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!

Flags: needinfo?(florian)

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.

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.

Component: Widget: Win32 → Theme
Flags: needinfo?(florian)
Product: Core → Firefox
See Also: → 1702469

Yeah, I think we should look at removing all the custom styling code for this, like ntim suggested in bug 1702469.

I think this is now fixed.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

(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.

See Also: → 1703625
See Also: → 1714462
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: