sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #02878
[Bug 1843588] Re: Nautilus doesn't copy filenames for paste to other programs anymore
I have prepared and uploaded patch for focal for this issue which is a
backport of upstream commit
https://gitlab.gnome.org/GNOME/nautilus/-/commit/2045f662f26891f5bb8c7ab0a7763227fe5fdf78
--
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1843588
Title:
Nautilus doesn't copy filenames for paste to other programs anymore
Status in Nautilus:
New
Status in nautilus package in Ubuntu:
Fix Released
Status in nautilus source package in Focal:
New
Bug description:
[Impact]
* One of the upstream changes changed behavior of clipboard copying files/directories from nautilus to applications accepting text only (e.g. gnome-terminal). In such case the pasted input is prefixed with:
x-special/nautilus-clipboard
copy file://
This was not the case in earlier releases and this change has been
reverted in later upstream releases.
[Test Plan]
1. Open nautilus.
2. Right-click on any file or directory and select 'Copy' from the context menu.
3. Open gnome-terminal and right-click paste the contents of the clipboard.
Expected result: path of the file/directory is pasted in the terminal.
Actual result: pasted input is prefixed with "x-special/nautilus-clipboard
copy file://"
[Where problems could occur]
* There are some workarounds listed in the upstream bug so fixing the
root cause may break environments with those workarounds in place.
[Other Info]
Original bug description:
Until Ubuntu 18.10 Nautilus does copy all selected filenames in simple
Text format and this way you cold paste the selected files as a list
to other programs: for example into the texteditor gedit. This was a
very useful function if you have, for example, to upload a file to
webmail or other web-service. You cold copy the file within nautilus
and paste it directliy to the selection dialog or webfield to upload
the file.
Or if you wanted a simple List of all your files in a folder you where
able to select all files with nautilus, copy and paste into gedit.
This is not possible anymore. The output of natilus looks now like
this:
x-special/nautilus-clipboard
copy
file:///home/<user>/Schreibtisch/new%20document.txt
Until Ubuntu 18.10 this looks like this:
/home/<user>/Schreibtisch/new document.txt
Steps to reproduce:
1. Select files with nautilus
2. Press Ctrl+C
3. open gedit
4. press Ctrl+V
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: nautilus 1:3.32.1-0ubuntu0.19.04.0
ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
Uname: Linux 5.0.0-27-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 11 15:06:14 2019
ExecutablePath: /usr/bin/nautilus
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/1843588/+subscriptions