-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change shortcut text for redo tooltip on Windows #42830
Conversation
Size Change: +810 B (0%) Total Size: 1.26 MB
ℹ️ View Unchanged
|
What do you think about only displaying Ctrl+Y in the tooltip on Windows since that's the default shortcut for Redo in Windows? (Both shortcuts can continue to work.) |
This may be a matter of opinion, but I believe both should be indicated. As seen in the following article, there are many applications that have historically adopted For example, in Adobe products, Perhaps different users have different perceptions, so I think it would be better to explicitly indicate that both commands are supported in gutenberg (as both are shown in the keyboard shortcut modal). |
I also think it's ok just to display 'Ctrl+Y' in the tooltip. Though both can be in the shortcut modal. I think most Windows applications will just use Ctrl+Y, even though there is some inconsistency. There's also some precedence - GSuite shows only Ctrl+Y as the shortcut, though both Ctrl+Shift+Z and Ctrl+Y work. |
Okay, then I will change the policy to replace the current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great.
Thanks @t-hamano! |
Follow up on #42627
What?
This PR adds Ctrl+Y text for redo tooltip on Windows.This PR changes the shortcut text for redo tooltip from
Ctrl + Shift + Z
toCtrl + Y
on Windows.Why?
In #42627, a new shortcut
Ctrl + Y
has been added on Windows.It was correctly displayed in the keyboard modal window but was not included in the tooltip when the Redo button was focused.
How?
I considered simply separating the text with a slash, but I ran it through asprintf
function because the meaning may not be conveyed in some languages.I replaced it with
Ctrl+Y
, which is the default redo command in Windows.Testing Instructions
These tooptips are shown in following 5 area.
On Macs, please make sure the text has not changed.
Post Editor
Site Editor
Widget Editor
Customizer
Edit Navigation
I couldn't figure out how to access this, but I believe it should appear correctly.