Closed Bug 1700713 Opened 3 years ago Closed 3 years ago

No icons next to New Container Tab menu items in native menus

Categories

(Core :: Widget: Cocoa, defect, P2)

defect

Tracking

()

VERIFIED FIXED
89 Branch
Tracking Status
firefox89 --- verified

People

(Reporter: mstange, Assigned: mstange)

References

Details

(Whiteboard: [proton-context-menus][mac:mr1])

Attachments

(1 file, 2 obsolete files)

In the native menus on macOS, under File -> New Container Tab, the different container items do not show an icon next to them.

This also affects the context menu of the new tab button, if native context menus are enabled.

Assignee: nobody → mstange.moz
Status: NEW → ASSIGNED

The context paint properties are used by the "New Container Tab" container icons.

Our native menu code does not check for images which are set as the CSS
background-image of the menuitem's icon <image>. We only support list-style-image
on the menuitem itself, and the <menuitem image="..."> attribute.

Depends on D109823

Depends on: 1701121

Comment on attachment 9211655 [details]
Bug 1700713 - Make aFromComputedStyle parameter a const pointer. r=emilio

Revision D109829 was moved to bug 1701121. Setting attachment 9211655 [details] to obsolete.

Attachment #9211655 - Attachment is obsolete: true

Comment on attachment 9211649 [details]
Bug 1700713 - Support SVG context paint properties for native menu icons. r=emilio

Revision D109823 was moved to bug 1701121. Setting attachment 9211649 [details] to obsolete.

Attachment #9211649 - Attachment is obsolete: true
Priority: -- → P2
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/bb515ff14ee1
Use list-style-image for container menu icons. r=desktop-theme-reviewers,harry
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Reproduced the issue mentioned in comment 0 using Firefox 89.0a1 (build from 2021-03-24).

This issue is verified fixed using Firefox 89.0a1 (BuildId:20210414160838) on macOS 10.15 with native menus enabled.

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

Attachment

General

Created:
Updated:
Size: