How is it 2023 and CMD-Z in Safari still breaks Google Docs?

When I make a mistake in Google Docs, I expect to be able to hit CMD-Z and undo that mistake.


When, instead, CMD-Z opens the last Safari tab I was in, that is royally inconvenient. Not to mention Safari doesn't always return me back to the right tab when I close the one that pops up, and which I don't want at that moment.


There's no doubt where the focus is, it's inside Google Docs. I didn't click somewhere on Safari's UI so that it thinks it has precedence. Look at this, for example: https://drive.google.com/file/d/19d3F_taVUJnS_00PcojsLQrb7v_3mei8/view?usp=share_link

MacBook Pro 14″, macOS 13.4

Posted on Jun 13, 2023 11:30 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 5, 2023 02:49 PM

“Google wants it that way” is a daft response. ⌘Z in Google Docs has always been for undoing the last edit you made in the doc:



It has worked this way forever, but it broke for me today. I'm using Safari 16.6 (18615.3.12.11.2) on Ventura 13.5.1 (22G90).


The issue occurs ONLY when you are using multiple tabs in a Safari window. If only one tab is Open, Safari's Edit menu shows "Undo Typing ⌘Z". If multiple tabs are open, it shows "Undo ⌘Z".


I don't care whether this is an Apple bug or a Google bug, since neither company has responded to posts about this issue in any forum I've looked at. Although it suer seems like an Apple bug, because the option displayed in the Safari menu is different depending on whether you have more than one tab, and that is overriding the Google application functionality.


It's causing chaos, because there's no way to disable the Safari ⌘Z shortcut (which basically renders Google Docs unusable). It's also unnecessary because Reopen Last Closed Tab already has its own dedicated Safari shortcut (Shift-⌘T). There should be a way to reconfigure or disable the redundant Safari shortcut.

Similar questions

7 replies
Question marked as Top-ranking reply

Sep 5, 2023 02:49 PM in response to John Galt

“Google wants it that way” is a daft response. ⌘Z in Google Docs has always been for undoing the last edit you made in the doc:



It has worked this way forever, but it broke for me today. I'm using Safari 16.6 (18615.3.12.11.2) on Ventura 13.5.1 (22G90).


The issue occurs ONLY when you are using multiple tabs in a Safari window. If only one tab is Open, Safari's Edit menu shows "Undo Typing ⌘Z". If multiple tabs are open, it shows "Undo ⌘Z".


I don't care whether this is an Apple bug or a Google bug, since neither company has responded to posts about this issue in any forum I've looked at. Although it suer seems like an Apple bug, because the option displayed in the Safari menu is different depending on whether you have more than one tab, and that is overriding the Google application functionality.


It's causing chaos, because there's no way to disable the Safari ⌘Z shortcut (which basically renders Google Docs unusable). It's also unnecessary because Reopen Last Closed Tab already has its own dedicated Safari shortcut (Shift-⌘T). There should be a way to reconfigure or disable the redundant Safari shortcut.

Sep 5, 2023 03:27 PM in response to Kurt Lang

This issue occurs with other browser-based text editors as well. The solution for anyone interested in restoring Undo Typing functionality to ⌘Z in Google Docs involves either (a) don't use multiple Safari tabs, or (b) set up the following keyboard override:


In System Preferences, Keyboard, Keyboard Shortcuts, select App Shortcuts on the sidebar and add the following shortcut:


  • Application - Choose Safari
  • Menu Title - Enter the following text exactly: Undo Close Tab
  • Keyboard Shortcut - Press Shift-⌘T


This will allow Google Docs and other editor apps to resume using ⌘Z to undo typing.

Mar 23, 2024 04:17 PM in response to FormerAppleFanboy

This behavior is Safari-specific, not Google-specific. Open any web app in Safari with multiple tabs open, take some form of action, and Cmd-Z, rather undo the last action, will advance the browser to the next tab.


Thanks to Markdowntown who posted the correct fix:


In System Preferences, Keyboard, Keyboard Shortcuts, select App Shortcuts on the sidebar and add the following shortcut:


  • Application - scroll down and choose Safari
  • Menu Title - Enter the following text exactly: Undo Close Tab
  • Keyboard Shortcut - Press Shift-⌘-T (that's 3 keys, not 2: shift key-Cmd key-T key)


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How is it 2023 and CMD-Z in Safari still breaks Google Docs?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.