Closed Bug 1760175 Opened 2 years ago Closed 2 years ago

Some items in the context menu have icons in latest Nightly

Categories

(Firefox :: Theme, defect)

Unspecified
macOS
defect

Tracking

()

VERIFIED FIXED
100 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 --- unaffected
firefox100 --- verified

People

(Reporter: flod, Assigned: sfoster)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Back, Forward, Reload, Bookmark items have an icon in the current nightly (20220317092857). Mozregression points to bug 1753767.

Summary: Some items in the context menu has icons → Some items in the context menu have icons in latest Nightly
Attached image Context menu

Set release status flags based on info from the regressing bug 1753767

:sfoster, since you are the author of the regressor, bug 1753767, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(sfoster)

The regressor seems very plausible but I can't reproduce this with the current nightly on linux or windows. What platform is that screenshot from :flod?

Flags: needinfo?(sfoster)

Can you provide more platform details and any relevant STR?

Flags: needinfo?(francesco.lodolo)

Sorry, I thought I put it in the first comment, but I didn't: macOS Monterey 12.2.1 (21D62)

That's the context menu displayed on empty space in a web page (not on links for example).

Flags: needinfo?(francesco.lodolo)
OS: Unspecified → macOS

Afaics, the old %include version of the macos specific style did not include contextmenu.inc.css.

(In reply to matthias koplenig [:metasieben] from comment #7)

Afaics, the old %include version of the macos specific style did not include contextmenu.inc.css.

Yeah I think that's right. So a patch like so might fix it. I don't have my mac with me today, but I can do this tomorrow if no-one has picked this up:

diff --git a/browser/themes/shared/browser-shared.css b/browser/themes/shared/browser-shared.css
--- a/browser/themes/shared/browser-shared.css
+++ b/browser/themes/shared/browser-shared.css
@@ -22,7 +22,7 @@
 @import url("chrome://browser/skin/ctrlTab.css");
 @import url("chrome://browser/skin/customizableui/customizeMode.css");
 @import url("chrome://browser/skin/UITour.css");
-@import url("chrome://browser/skin/contextmenu.css");
+@import url("chrome://browser/skin/contextmenu.css") not (-moz-platform: macos);
 
 @namespace html url("http://www.w3.org/1999/xhtml");

Yes, that fixes it.

Has Regression Range: --- → yes
Assignee: nobody → sfoster
Status: NEW → ASSIGNED
Attachment #9268512 - Attachment description: Bug 1760175 - Avoid loading contextmenu.css for MacOS. r?Dao!" → Bug 1760175 - Avoid loading contextmenu.css for MacOS. r?Dao!
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d5831da1542f
Avoid loading contextmenu.css for MacOS. r=dao
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch

Reproduced with 100.0a1 (2022-03-17) and verified fixed with 100.0a1 (2022-03-28) on macOS 12.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: