Open qrp73 opened 4 days ago
I'm not able to reproduce this - it all works perfectly fine for me. Can you please provide more details about which OS image / desktop environment / Raspberry Pi / etc. you're using?
Raspberry Pi 4B rev 1.5
$ uname -a && cat /etc/rpi-issue && vcgencmd version
Linux raspi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
Raspberry Pi reference 2023-09-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 40f37458ae7cadea1aec913ae10b5e7008ebce0a, stage4
Aug 30 2024 19:17:39
Copyright (c) 2012 Broadcom
version 2808975b80149bbfe86844655fe45c7de66fc078 (clean) (release) (start)
As I remember this issue was present just out of the box after all Raspberry Pi OS installation. Currently I also installed clipman, but this issue was present before installation.
This is very strange that you cannot reproduce it. Do you use context menu by right click mouse?
Maybe it is related to pcmanfm settings? I'm using Detailed List View, and disabled Layout->Display simplified user interface and menus
I'm using Detailed List View
Ah! That seems to be the problem. If I click on the "View as detailed list" button on the toolbar, then the right-click "Paste" menu indeed appears to stop working. Although the Edit->Paste menu does still seem to work, so I guess that's a workaround for now whilst we investigate this problem...
Just tried and a copied a file and pasted it into a new directory just fine. This was using right-click menu options. This was on a Pi5 with labwc enabled.
Ah-ha! After a bit more head-scratching, myself and @popcornmix have managed to figure out why it works sometimes but not others. :bulb:
If you've switched pcmanfm into List-view, and you're trying to right-click-Paste into your home directory or an immediate subdirectory of your home directory, then the Paste silently fails. But if you try and Paste into a sub-sub-directory (which is what @popcornmix was trying), then the Paste succeeds! How bizarre.
Detailed reproduction steps:
SubDir
SubDir
and create another directory inside there e.g. SubSubDir
(i.e. so the full path is something like /home/pi/SubDir/SubSubDir
)File1
and File2
it doesn't depends on sub folder structure at all.
The Paste operation just don't works if you do Copy operation once. If you do Copy operation twice for the same file, the Paste operation works.
You can reproduce it in the same folder: just right-click on the file and select Copy, then right-click on an empty space and verify that Paste is disabled. Then copy the same file a second time, and you will see that Paste is enabled.
The same issue happens if you use Cut instead of Copy.
It is very annoying when you copy a file, then change the current folder to find another location, and when you right-click to paste, you realize that the paste operation is disabled. You then have to find the original file again to copy it a second time.
Just tried to reproduce it with Icon View, and the issue is still present.
Interestingly, if you copy a file once, then restart pcmanfm and copy the same file a second time, the Paste option becomes available. This means the state is somehow remembered between pcmanfm sessions.
Also, there is need to restart pcmanfm after setting changes.
The "Paste" option is unavailable after single click on "Copy" menu, requiring the user to click "Copy" menu at least twice in order to use "Paste" menu.
Steps to Reproduce:
1) Open File Manager (pcmanfm). 2) Right-click on a file and select "Copy" from the context menu. 3) Double-click on another folder to change the current directory. 4) Right-click in the new folder and attempt to select "Paste" from the context menu.
Expected Result: The "Paste" option should be available and should paste the previously copied file into the new folder.
Actual Result: The "Paste" option is unavailable. The user is forced to select "Copy" at least twice before being able to paste the file.
Impact: This issue has been present for a long time and is highly disruptive to workflow, requiring unnecessary repetition of actions to complete a basic task. It greatly affects usability and efficiency in file management.
Recommendation: Fix the issue so that the "Paste" become accessible after single select "Copy" menu, without requiring the user to re-select "Copy" again.