Public bug reported:

Special characters (at least spaces) are escaped with backslash when
copying file paths in Nautilus.

Say I have a PDF file named "date - document.pdf". The expected output
from copy path would be:

> /home/user/date - document.pdf

Instead, Nautilus returns the following:

> /home/user/date\ -\ document.pdf

It would be more natural not to escape spaces, since they are not
escaped for example in the terminal.

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: nautilus 1:3.38.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-45.51-generic 5.8.18
Uname: Linux 5.8.0-45-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 23 14:18:19 2021
GsettingsChanges:
 b'org.gnome.nautilus.icon-view' b'default-zoom-level' b"'large'"
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'229'
 b'org.gnome.nautilus.window-state' b'initial-size' b'(944, 620)'
 b'org.gnome.nautilus.preferences' b'search-view' b"'icon-view'"
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 
'type', 'owner', 'group', 'permissions', 'where', 'date_modified', 
'date_modified_with_time', 'date_accessed', 'recency', 'starred', 
'detailed_type']"
InstallationDate: Installed on 2019-08-08 (593 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: nautilus
UpgradeStatus: Upgraded to groovy on 2020-10-29 (144 days ago)
usr_lib_nautilus:
 evince                            3.38.0-1
 file-roller                       3.38.0-1
 nautilus-extension-gnome-terminal 3.38.0-1ubuntu1.1
 nautilus-share                    0.7.3-2ubuntu3
 python3-nautilus                  1.2.3-3

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug groovy wayland-session

** Description changed:

- Special characters are escaped with backslash when copying file paths in
- Nautilus.
+ Special characters (at least spaces) are escaped with backslash when
+ copying file paths in Nautilus.
  
  Say I have a PDF file named "date - document.pdf". The expected output
  from copy path would be:
  
  > /home/user/date - document.pdf
  
  Instead, Nautilus returns the following:
  
  > /home/user/date\ -\ document.pdf
+ 
+ It would be more natural not to escape spaces, since they are not
+ escaped for example in the terminal.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: nautilus 1:3.38.1-1ubuntu1
  ProcVersionSignature: Ubuntu 5.8.0-45.51-generic 5.8.18
  Uname: Linux 5.8.0-45-generic x86_64
  ApportVersion: 2.20.11-0ubuntu50.5
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Mar 23 14:18:19 2021
  GsettingsChanges:
-  b'org.gnome.nautilus.icon-view' b'default-zoom-level' b"'large'"
-  b'org.gnome.nautilus.window-state' b'sidebar-width' b'229'
-  b'org.gnome.nautilus.window-state' b'initial-size' b'(944, 620)'
-  b'org.gnome.nautilus.preferences' b'search-view' b"'icon-view'"
-  b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 
'type', 'owner', 'group', 'permissions', 'where', 'date_modified', 
'date_modified_with_time', 'date_accessed', 'recency', 'starred', 
'detailed_type']"
+  b'org.gnome.nautilus.icon-view' b'default-zoom-level' b"'large'"
+  b'org.gnome.nautilus.window-state' b'sidebar-width' b'229'
+  b'org.gnome.nautilus.window-state' b'initial-size' b'(944, 620)'
+  b'org.gnome.nautilus.preferences' b'search-view' b"'icon-view'"
+  b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 
'type', 'owner', 'group', 'permissions', 'where', 'date_modified', 
'date_modified_with_time', 'date_accessed', 'recency', 'starred', 
'detailed_type']"
  InstallationDate: Installed on 2019-08-08 (593 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: nautilus
  UpgradeStatus: Upgraded to groovy on 2020-10-29 (144 days ago)
  usr_lib_nautilus:
-  evince                            3.38.0-1
-  file-roller                       3.38.0-1
-  nautilus-extension-gnome-terminal 3.38.0-1ubuntu1.1
-  nautilus-share                    0.7.3-2ubuntu3
-  python3-nautilus                  1.2.3-3
+  evince                            3.38.0-1
+  file-roller                       3.38.0-1
+  nautilus-extension-gnome-terminal 3.38.0-1ubuntu1.1
+  nautilus-share                    0.7.3-2ubuntu3
+  python3-nautilus                  1.2.3-3

-- 
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/1920926

Title:
  "copy path" returns path with escape characters

Status in nautilus package in Ubuntu:
  New

Bug description:
  Special characters (at least spaces) are escaped with backslash when
  copying file paths in Nautilus.

  Say I have a PDF file named "date - document.pdf". The expected output
  from copy path would be:

  > /home/user/date - document.pdf

  Instead, Nautilus returns the following:

  > /home/user/date\ -\ document.pdf

  It would be more natural not to escape spaces, since they are not
  escaped for example in the terminal.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: nautilus 1:3.38.1-1ubuntu1
  ProcVersionSignature: Ubuntu 5.8.0-45.51-generic 5.8.18
  Uname: Linux 5.8.0-45-generic x86_64
  ApportVersion: 2.20.11-0ubuntu50.5
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Mar 23 14:18:19 2021
  GsettingsChanges:
   b'org.gnome.nautilus.icon-view' b'default-zoom-level' b"'large'"
   b'org.gnome.nautilus.window-state' b'sidebar-width' b'229'
   b'org.gnome.nautilus.window-state' b'initial-size' b'(944, 620)'
   b'org.gnome.nautilus.preferences' b'search-view' b"'icon-view'"
   b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 
'type', 'owner', 'group', 'permissions', 'where', 'date_modified', 
'date_modified_with_time', 'date_accessed', 'recency', 'starred', 
'detailed_type']"
  InstallationDate: Installed on 2019-08-08 (593 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: nautilus
  UpgradeStatus: Upgraded to groovy on 2020-10-29 (144 days ago)
  usr_lib_nautilus:
   evince                            3.38.0-1
   file-roller                       3.38.0-1
   nautilus-extension-gnome-terminal 3.38.0-1ubuntu1.1
   nautilus-share                    0.7.3-2ubuntu3
   python3-nautilus                  1.2.3-3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1920926/+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