Cocoa: Cmd+Z shortcut (undo) doesn't work in the IDE or an application
Original Reporter info from Mantis: Clover
-
Reporter name: David Gray
Original Reporter info from Mantis: Clover
- Reporter name: David Gray
Description:
Undo and redo don't work in the IDE. Specifically, shortcuts involving the cmd+Z (meta Z) key combinations don't seem to reach either the IDE or an app.
Steps to reproduce:
Type a character into the IDE source editor. Press cmd+Z. Nothing happens. But, select the Edit/Undo IDE main menu and the typed character is correctly removed.
The "redo" shortcut cmd+shift+Z similarly fails.
Or, create a new application and add a main menu. Create a menu item, give it a shortcut of meta Z, create an event handler. The event handler is never called via the shortcut, only via the menu item.
Cmd with other keys does work. For example cmd+Y shortcut works fine.
When fixing, please check that cmd+shift+Z also works, for the "redo" function.
Mantis conversion info:
- Mantis ID: 33632
- OS: High Sierra
- OS Build: 10.13.4
- Build: 57264
- Platform: Mac
- Version: 1.9 (SVN)
- Fixed in revision: 58456 (#a2096615)
- Monitored by: » Clover (David Gray)