Skip to content

The services MenuItem role displays incorrectly in context menus #18476

@caesar

Description

@caesar

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • 5.0.2
  • Operating System:
    • macOS 10.14.5
  • Last Known Working Electron version:
    • none

Expected Behavior

When used in a context menu (or anywhere other than the main Application menu), a submenu with role: services should look like a normal menu, without icons or headings, like in native Mac apps.

Screenshot from Safari (expected behaviour):
Screenshot 2019-05-26 at 20 44 02

Actual Behavior

A MenuItem with role: services always displays a menu like that used in the main Application menu, with icons and headings.

Screenshot from Electron (actual behaviour):
Screenshot 2019-05-26 at 21 16 28

To Reproduce

Create a MenuItem with role: service in a context menu (or anywhere other than in the main menubar).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions