Copying files not working from Edit system bar
Opened this issue · 0 comments
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
The Edit -> Copy menu select doesn't add files from the Tree View to the clipboard.
Steps to Reproduce
- Highlight a file in Tree View.
- Open the Edit menu on the system bar and select Copy.
- Attempt to paste the file into another directory in Tree View.
Expected behavior: [What you expect to happen]
The file should be added to the clipboard and pasted.
Actual behavior: [What actually happens]
The last object from the clipboard is pasted. If it was code, nothing happens. If it was another file, that file is erroneously pasted instead.
Reproduces how often: [What percentage of the time does it reproduce?]
Always.
Versions
Atom 1.34.0 x64
apm 2.1.3
macOS High Sierra
Additional Information
The expected behavior occurs if I use the context menu within tree view or cmd+c/v. I have no idea what possessed me to attempt to manually use the Edit menu, but there you have it.
I'm not entirely sure what repo this belongs in; however, if I attempt to manually use the Edit menu C+P with content from the core, it works as expected. The bug only affects the tree view.