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

Paste from clipboard not working #514

Open
herrschmidt opened this issue Dec 13, 2024 · 5 comments
Open

Paste from clipboard not working #514

herrschmidt opened this issue Dec 13, 2024 · 5 comments
Assignees
Labels
bug Something isn't working OS-Windows Issue is related to windows only, and doesn't affect Linux/Mac WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@herrschmidt
Copy link

Describe the bug
When I hit ctrl+v with a file or folder visible in the "Clipboard" panel, nothing happens. The item remains in the clipboard and does not get pasted.

Maybe there are other issues with my installation, because I also can not see the file / folder icons. They show up as diamonds with a question mark. Installed it with bash -c "$(wget -qO- https://superfile.netlify.app/install.sh)"

To Reproduce
Steps to reproduce the behavior:

  1. Create new file in user directory "test.md"
  2. Press ctrl+c
  3. Verify file is in clipboard pane
  4. Create new subdir "testdir/" and enter dir
  5. Press ctrl+v
  6. Nothing happens

Expected behavior
File gets pasted

System information (please complete the following information):

  • OS: Ubuntu (accessed via ssh over Windows 11 Powershell)
  • Version 24.04
  • superfile Version 1.1.6
@herrschmidt herrschmidt added the bug Something isn't working label Dec 13, 2024
@yorukot
Copy link
Owner

yorukot commented Dec 15, 2024

Can you check log file and give me more information?
Since i can't reproduce this error :/

@jrey36
Copy link

jrey36 commented Dec 15, 2024

I have the same issue. I am running a fresh install of Raspberry Pi OS Lite and spf. Accessing it the same as OP (W11 Powershell)
At first I was getting no error when copying, but I got this error:

No clipboard utilities available. Please install xsel, xclip, wl-clipboard or Termux:API add-on for termux-clipboard-get/set.

After installing and testing each one except Termux, I got the same error plus a new one:

Copy single item write file error

The new error shows up just before the one about the clipboard utilities, but has also shown up without the clipboard utilities error following it, tho I did try to paste

@fahminlb33
Copy link

I'm also experiencing the same issue in Ubuntu 24.04 (WSL 2). I can cut/copy but can't paste.

$ cat ~/.local/state/superfile/superfile.log
2025/01/21 08:43:52 Error check text file
2025/01/21 08:43:52 EOF
2025/01/21 08:43:53 Error check text file
2025/01/21 08:43:53 EOF
2025/01/21 08:43:53 Error check text file
2025/01/21 08:43:53 EOF
2025/01/21 08:43:56 Error check text file
2025/01/21 08:43:56 EOF

@lazysegtree lazysegtree added the OS-Windows Issue is related to windows only, and doesn't affect Linux/Mac label Jan 24, 2025
@lazysegtree lazysegtree self-assigned this Jan 24, 2025
@lazysegtree lazysegtree added this to the Stable windows support milestone Jan 27, 2025
@lazysegtree
Copy link
Collaborator

@herrschmidt Please build from latest master branch, and see if this is fixed for you ?

@lazysegtree lazysegtree added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jan 27, 2025
@herrschmidt
Copy link
Author

herrschmidt commented Jan 29, 2025

@herrschmidt Please build from latest master branch, and see if this is fixed for you ?

Unfortunately I still can't paste from the clipboard, when using powershell or cmd to access my Ubuntu server via ssh. Also the icons are still missing, only question marks in squares. If I start powershell as admin, the file and folder entries show up twice and change upon selecting different files via up/down. also the vertical dividers are shifted to the left or right in some rows.

Access spf on Ubuntu 24 via Win 11 powershell:
Image

Same, but powershell with admin privileges:
Image

When I use another terminal called Termius from my Win 11 machine, copy paste works (but up/down buttons do not, only j/k). And all the icons are correctly displayed.

What I did:

  1. Uninstalled spf
  2. Cloned the superfile repo to my Ubuntu 24 computer
  3. ran the build script
  4. moved the executable: sudo mv ./bin/spf /usr/local/bin
  5. ran: spf in the shell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OS-Windows Issue is related to windows only, and doesn't affect Linux/Mac WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
Status: Bug
Development

No branches or pull requests

5 participants