atom/tree-view

Copying files not working from Edit system bar

Opened this issue · 0 comments

Prerequisites

Description

The Edit -> Copy menu select doesn't add files from the Tree View to the clipboard.

Steps to Reproduce

  1. Highlight a file in Tree View.
  2. Open the Edit menu on the system bar and select Copy.
  3. 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.