-
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
odd issue prevent me to copy or paste into text fields, only at times #4107
Comments
This is very likely a duplicate of #1151. |
Thanks for pointing that out. in #1151 the problem seems to be related to focus. This isn't happening to me, in fact I can type freely into the field. I just cannot paste into it or copy text from it. The solution moreover seems to be specific to Atom, while I am not using it at all here :
|
Can you provide an example app? |
not as-is, let me try to reduce it to the minimum |
@zcbenz here you can try to reproduce it yourself http://gofile.me/6nytF/6RM4yvTI . I had to stripe down quickly most unrelated files and html elements. Some fonts and css and js are still there so you can reproduce it . Try to run it with npm start (mac) , and then by placing it inside Electron.app . Basically cmd+a, cmd+c and cmd+v are disabled (only in the second case) .. additional note, maybe un-related maybe not. When ran with
|
The link says "Unable to download file(s).". I guess you are not creating an application menu for your app, the default app of Electron will create a default application menu when running an app, but once packaged the default application menu will be gone. All the default accelerators rely on the application menu to work. |
the link expired, sorry for the inconvenience. here is the new link, validity extended for a week
You are right, I am not creating it. Should I try creating one following this tutorial? |
Yeah, the template in Menu docs is a good start, you might want to remove the devtools related items in final product. |
Thanks, I tried: I added a basic application menu to my application. As a result now I am unable to cmd+[a|c|v] also when launched via I packed the sample app and re-uploaded here |
That's because you didn't add menu items for copy/paste. |
That fixed it, thanks. Edit2: Yes, I could disable refreshing this way |
I'm finding a very odd issue that I was able to replicate on multiple machines.
I have an html+js app that I wrapped around with Electron. I am having problem with the MacOS distribution.
There is one HTML text field that won't let me paste text into it. This bug only happens after I follow the procedure to distribute the app (copy my app/ folder into Electron.app).
In all the other instances, I can copy or paste just fine :
I wonder, what can be the difference there? How can I debug something like this?
The text was updated successfully, but these errors were encountered: