desktopfolder
desktopfolder copied to clipboard
Wrong clipboard data
Description
Wrong clipboard data format seems to be used/expected
Steps to reproduce
- copy file in desktopfolder
- try to paste in any file manager (Tried SpaceFM, PCManFM-Qt)
- copy file in any file manager
- try to paste in desktopfolder
You can also see the difference with a clipboard manager, like Qlipper.
Expected result
URL object is being placed in clipboard
Actual result
simple string with file path is being placed in clipboard or expected to be in clipboard
System Information
- OS: Debian testing
- Desktop Folder version: 1.0.10
I think at least Marlin (elementary OS's file manager) uses a custom copy/paste action (or at least for copying links). Not sure if those other file managers you mentioned do that sort of thing too. Does directly copying files between those two file managers you mentioned work?
Does directly copying files between those two file managers you mentioned work?
Yes.
In both cases pasting into text field results in just path: /path/to/file, but thanks to Qlipper I can see the difference in contents of clipboard. After copying from file managers it shows clipboard item as Url: file:///path/to/file, after copying from desktopfolder it shows clipboard item as just /path/to/file. Some kind of clipboard metadata issue perhaps?
hi @Vladimir-csp, thanks for reporting. I'm not sure if the real problem is the uri path of the file, it seems in code that it is being copied as an uri.. Anyway, I have confirmed the problem with other file managers, pacman, krusader. It seems to be a problem inherited from marlin (in which is based the copy/paste part).