Skip to content
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

GH-8654: Fix SelectAll/Copy/Paste Keyboard Shortcuts are not working within DevTools and native input and file dialogs for macOS #8943

Merged

Conversation

zhaomenghuan
Copy link
Contributor

@zhaomenghuan zhaomenghuan commented Jan 13, 2021

What it does

Fixed #8654
Fixed #6217

How to test

System environment:mac OS
You can operate copy (⌘+C), paste (⌘+V) and other operations on DevTools and mini-browser. It is found that the operation cannot be performed normally before the repair, and the operation is normal after the repair.

Review checklist

Reminder for reviewers

Signed-off-by: 赵梦欢 zhaomenghuan02@meituan.com

@christlee1989
Copy link

LGTM

@vince-fugnitto vince-fugnitto added bug bugs found in the application electron issues related to the electron target labels Jan 20, 2021
@kittaakos
Copy link
Contributor

@zhaomenghuan, thank you for your contribution. I'd have a few remarks, and I was wondering if you're still interested in adjusting the PR a little bit.

The approach is good, VS Code does very similar. It turned out copy/pasting works just as is on Windows. I tried with the Theia electron app on Windows. Based on the VS Code codebase, it's most likely not an issue on Linux either. Can you please make your special role handling only for macOS?

@zhaomenghuan zhaomenghuan changed the title GH-8654: SelectAll/Copy/Paste Keyboard Shortcuts are not working within DevTools and native input and file dialogs GH-8654: Fix SelectAll/Copy/Paste Keyboard Shortcuts are not working within DevTools and native input and file dialogs for macOS Feb 18, 2021
… working within DevTools and native input and file dialogs

Signed-off-by: 赵梦欢 <zhaomenghuan02@meituan.com>
@zhaomenghuan
Copy link
Contributor Author

zhaomenghuan commented Feb 18, 2021

@kittaakos Thank you for your comment and modification suggestion, the modification has been completed, please take the time to review it.

Copy link
Contributor

@kittaakos kittaakos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your help, @zhaomenghuan 👍

@kittaakos
Copy link
Contributor

I assume the before each, after each test failures are unrelated to this change. Thank you for your help, @zhaomenghuan 👍

@kittaakos kittaakos merged commit 4e1c1d4 into eclipse-theia:master Feb 18, 2021
@zhaomenghuan zhaomenghuan deleted the bugfix/electron-menuitem-role branch February 21, 2021 14:30
@paul-marechal paul-marechal added this to the 1.11.0 milestone Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application electron issues related to the electron target
Projects
None yet
5 participants