** Also affects: gnome-shell (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gnome-shell (Ubuntu Focal)
     Assignee: (unassigned) => Dariusz Gadomski (dgadomski)

** Changed in: gnome-shell (Ubuntu)
       Status: New => Fix Released

** Changed in: gnome-shell (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: nautilus (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: gnome-shell (Ubuntu)
   Importance: Undecided => Medium

** Also affects: gnome-shell-extension-desktop-icons (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Focal)
     Assignee: (unassigned) => Dariusz Gadomski (dgadomski)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1843588

Title:
  Nautilus doesn't copy filenames for paste to other programs anymore

Status in Nautilus:
  New
Status in gnome-shell package in Ubuntu:
  Fix Released
Status in gnome-shell-extension-desktop-icons package in Ubuntu:
  New
Status in nautilus package in Ubuntu:
  Fix Released
Status in gnome-shell source package in Focal:
  New
Status in gnome-shell-extension-desktop-icons source package in Focal:
  New
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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to