Open ervumlens opened 9 years ago
FYI, this is similar to (but not the same as) bug 103604. There is no mention of errors there, only the lack of copying.
I get junk in the data that's read from the clipboard, for example when logging in places.js.
Copy a file in file manager, then run this macro (based on the places.js code).
//this is a javascript macro
var srcURIs = null;
var srcType = null;
var flavor = 'text/uri-list'
if (xtk.clipboard.containsFlavors([flavor])) {
srcType = flavor;
srcURIs = xtk.clipboard.getTextFlavor(flavor);
} else {
srcType = "(unknown)";
srcURIs = xtk.clipboard.getText();
}
alert("Via xtk.clipboard: " + srcType + ": " + srcURIs);
In Windows, the code fails. In Linux, I get this:
Not quite a text/uri-list
output. I see the same thing when logging the data. This might explain why searching for "/" in the string produces a substring not found
error.
Did this work in other version? I think this is an enhancement.
KE 9.2.0 Linux
Problem I'm trying to copy a file from the file manager (the Linux-equivalent of Windows' explorer.exe). I
ctrl+c
the file andctrl+v
over Places. I get the error dialog below.These are local files.
This occurs when copying either a file or a folder, just one or more than one, into the project root or into a project subfolder. Same result with two different file managers (PCManFM and Thunar).
Log!