-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
Copy keyboard shortcut has randomly no effect #9352
Comments
@alexstrat are you using English keyboard layout or others? |
I'm using a U.S. keyboard, some of my users are using French keyboard. I have not noticed that keyboard layout makes a deterministic difference. |
I have the same issue (macos, latest electron beta). |
@tborychowski 👍 is that with https://github.com/tborychowski/github-browser ? |
@alexstrat, yes it is 😄 |
I recently updated to Sierra, and once I tried my electron app after that, copy and paste stopped working entirely. I have the menus correctly set up. I am not sure if it is related to this, but I am seeing similar behavior and all other issues I can find reference needing to set up the menus (which I have set up correctly). |
Okay, my issue was related to kicking off the |
This issue also occurred on VS Code randomly, and I found that the copy/paste keyboard shortcuts were actually rebound to |
Does this ever happen to you in Chrome browser? |
It never happened to me in Chrome. |
Me neither |
I confirm this bug exists in |
Does it still reproduce in Electron >= 3? The |
I still have some reports of such bugs with Electron>=4. Though I realize now that, personally, I haven't experienced it for some time. |
Thank you for taking the time to report this issue and helping to make Electron better. The version of Electron you reported this on has been superseded by newer releases. If you're still experiencing this issue in Electron 6.x.y or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know. I'm setting the Thanks in advance! Your help is appreciated. |
Thank you for your issue! We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue. |
I have been tracking this bug for weeks, it appears a priori randomly. Can't determine if it's a bug on Electron-side or on my side. I'm posting the description here with the hope it rings someone's bell.
Expected behavior
Select some text and hit Cmd+C
=> the selected text should be in clipboard, everytime
Actual behavior
The Cmd+C shortcut works fine, but at some point, a priori randomly, the shortcut stops working (clipboard is not updated with the selected text):
copy
via the contextual menu, 1/ it actually copies and 2/the keyboard shortcut start working again(not constantly)How to reproduce
I haven't found a way to constantly reproduce the bug.
My app is made of several
webviews
stacked on top of each other, and getting the focus alternatively with the appropriate z-index.The afftected users are on OSX but I don't have users on other platform for now, and since I don't have consistent way to reproduce, i could not verify on other platforms.
The
applicationMenu
has a copy item of this kind:and the contextual menu:
Update: I previously used
selector
for menu item declaration. I fixed this, but the problem remains.Update (5/26): Same behavior on 1.7.1.
The text was updated successfully, but these errors were encountered: