8000 Undo/Redo/Cut/Copy/Paste & more Not work using Menubar in Windows · Issue #18745 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Undo/Redo/Cut/Copy/Paste & more Not work using Menubar in Windows #18745
Closed
@damianaiamad

Description

@damianaiamad

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.3
  • Operating System:
    • Windows 10 (1809)
  • Last Known Working Electron version:
    • 4.2.4

Expected Behavior

Selecting Undo/Redo/Cut/Copy/Paste/ZoomIn/ZoomOut/ResetZoom from menu bar with mouse performs those various functions.

Actual Behavior

Selecting these options from the menubar using the mouse seems to have no effect.
Using keyboard shortcuts does work ok.

Both mouse & keyboard works ok for all functions in MacOS 10.14.5.

To Reproduce

https://github.com/electron/fiddle/releases/tag/v0.8.1
Download and run, then try Edit and View menus.
This uses 5.0.1

I have same problem in my own app using 5.0.3. Problem eliminated by downgrading to 4.2.4.

Additional Information

My app uses standard MenuItem roles:

        { role: 'resetzoom' },
        { role: 'zoomin' },
        { role: 'zoomout' },

Electron Fiddle does the same:
https://github.com/electron/fiddle/blob/88ce4a76e97c4c93821306b59b3de9a147378058/src/main/menu.ts

     item.submenu.push({ type: 'separator' }, { role: 'resetzoom' }, { role: 'zoomin' }, { role: 'zoomout' }); // Add zooming actions

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0