Author Topic: Command+ Z not working in Cocoa  (Read 1721 times)


  • New member
  • *
  • Posts: 8
Command+ Z not working in Cocoa
« on: June 11, 2018, 09:31:08 am »
I have an edit menu with Undo and Redo commands, and have assigned the standard keyboard shortcuts (Command+Z  and Shift+Command+Z) but the menu does not respond to these key-presses.

It works with Command(Meta)+A etc, or Shift+Z etc, but just not with Command+Z and Shift+Command+Z.

I also do not seem to be able to receive an OnKeyDown messages with those key presses either.

I have attached a sample program which has 3 menu items with Command+Z, Command+A and Shift+Z shortcuts.
This works in Carbon, but not Cocoa.

Any ideas??


  • Full Member
  • ***
  • Posts: 127
Re: Command+ Z not working in Cocoa
« Reply #1 on: June 12, 2018, 03:13:56 pm »
Reported 2018-05-20 as Issue 33632


TinyPortal © 2005-2018