Closed Bug 1634247 Opened 4 years ago Closed 4 years ago

Separators in the Developer Tools menu are displayed as menuseparators

Categories

(Firefox :: Toolbars and Customization, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 78
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- unaffected
firefox77 --- verified
firefox78 --- verified

People

(Reporter: itiel_yn8, Assigned: itiel_yn8)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Screenshot

I missed this in bug 1532172.

Flags: needinfo?(itiel_yn8)

The code for the separators that come before the last one is here:
https://searchfox.org/mozilla-central/rev/7fd1c1c34923ece7ad8c822bee062dd0491d64dc/devtools/client/framework/browser-menus.js#236
and the code for the last one that comes before the "Work Offline":
https://searchfox.org/mozilla-central/rev/7fd1c1c34923ece7ad8c822bee062dd0491d64dc/devtools/startup/DevToolsStartup.jsm#572

Simply replacing "menuseparator" with "toolbarseparator" doesn't work in either of them (nothing is drawn and no <toolbarseparator> appear in the markup).
No errors in the console either.

Dão, what am I missing here?

Flags: needinfo?(itiel_yn8) → needinfo?(dao+bmo)

(In reply to Itiel from comment #1)

The code for the separators that come before the last one is here:
https://searchfox.org/mozilla-central/rev/7fd1c1c34923ece7ad8c822bee062dd0491d64dc/devtools/client/framework/browser-menus.js#236
and the code for the last one that comes before the "Work Offline":
https://searchfox.org/mozilla-central/rev/7fd1c1c34923ece7ad8c822bee062dd0491d64dc/devtools/startup/DevToolsStartup.jsm#572

Simply replacing "menuseparator" with "toolbarseparator" doesn't work in either of them (nothing is drawn and no <toolbarseparator> appear in the markup).
No errors in the console either.

Dão, what am I missing here?

The screenshot is of the hamburger menu, maybe you want the code at https://searchfox.org/mozilla-central/rev/54f965e51e4f77866bec42737978d40d4c1fdfc5/browser/components/customizableui/CustomizableUI.jsm#4374 ?

Flags: needinfo?(itiel_yn8)
Assignee: nobody → itiel_yn8
Status: NEW → ASSIGNED

(In reply to :Gijs (he/him) from comment #2)

The screenshot is of the hamburger menu, maybe you want the code at https://searchfox.org/mozilla-central/rev/54f965e51e4f77866bec42737978d40d4c1fdfc5/browser/components/customizableui/CustomizableUI.jsm#4374 ?

It all makes sense now, thanks!

Flags: needinfo?(itiel_yn8)
Flags: needinfo?(dao+bmo)

Hi Itiel - it looks like you're actively working on this one; would you mind adding a priority + severity?

Flags: needinfo?(itiel_yn8)

(In reply to Rachel Tublitz [:rachel] from comment #5)

Hi Itiel - it looks like you're actively working on this one; would you mind adding a priority + severity?

I don't think I'm qualified for setting these.
Transferring the needinfo to Gijs on that.

Flags: needinfo?(itiel_yn8) → needinfo?(gijskruitbosch+bugs)

We're tracking this as a regression and it's assigned, and the result looks a bit worse on macOS (the separators disappear entirely on the default/light theme) so S2 / P1 feels right. Thanks!

Severity: -- → S2
Flags: needinfo?(gijskruitbosch+bugs)
Priority: -- → P1
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/589cd0f24209
Fix separators in the Web Developer menu r=dao
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78

Gijs, Itiel, given that this is a P1 77 regression and that he patch doesn't look scary, should we uplift it to beta? Thanks

Flags: needinfo?(itiel_yn8)
Flags: needinfo?(gijskruitbosch+bugs)

Comment on attachment 9145879 [details]
Bug 1634247 - Fix separators in the Web Developer menu r?dao

Beta/Release Uplift Approval Request

  • User impact if declined: Broken-looking separators in some hamburger menus
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Open the help or web developer submenus in the hamburger menu and check the separators look good.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small JS-only patch switching to the correct type of separator in the hamburger menu, we have ample beta runway.
  • String changes made/needed: No
Flags: needinfo?(gijskruitbosch+bugs)
Attachment #9145879 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Flags: needinfo?(itiel_yn8)
QA Whiteboard: [qa-triaged]

Comment on attachment 9145879 [details]
Bug 1634247 - Fix separators in the Web Developer menu r?dao

Small patch with tests for a 77 UX regression, let's take it into beta; thanks!

Attachment #9145879 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I couldn't reproduce the issue on a Firefox Nightly build from 29-04-2020 on MacOS 10.15 and on Windows 10 x64. (Please see screenshot attached)

Are there any extra steps that need to be done to reproduce the issue?

Flags: needinfo?(itiel_yn8)

(In reply to Hani Yacoub from comment #13)

Created attachment 9147622 [details]
Screenshot 2020-05-12 at 17.06.05.png

I couldn't reproduce the issue on a Firefox Nightly build from 29-04-2020 on MacOS 10.15 and on Windows 10 x64. (Please see screenshot attached)

Are there any extra steps that need to be done to reproduce the issue?

Hmm, can you try with a Nightly build from 2020-05-01?

Flags: needinfo?(itiel_yn8) → needinfo?(hani.yacoub)

Thank you! I managed to reproduce the issue.
Verified as fixed on MacOS 10.15, Windows 10 x64 and Ubuntu 18.04 x64 on the latest Firefox Nightly and on Firefox 77.0b5.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Flags: needinfo?(hani.yacoub)
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: