Public bug reported:
To reproduce:
1. Identify (or create) a file with a space in its filename, e.g.
'/home/gnoutchd/Lots of Junk.txt'
2. Select that file in nautilus and choose 'Copy' from the right-click context
menu.
3. Open a note in Gnote and paste.
Expected: Gnote inserts a (working) link the file '/home/gnoutchd/Lots
of Junk.txt'.
Actual: Gnote inserts the text '/home/gnoutchd/Lots of Junk.txt', but
only the prefix '/home/gnoutchd/Lots' gets highlighted as a link. When
that link is clicked, Gnote attempts to open the URL
'file:///home/gnoutchd/Lots', which is not what I wanted to link to. If
a file with this truncated name happens to exist, Gnote opens it;
otherwise, I get an info dialog with the text:
> Cannot open location
>
> file:///home/gnoutchd/Lots: Error when getting information for file
> '/home/gnoutchd/Lots': No such file or directory
As a workaround, I can still generate a link to the desired file by
typing in a percent-quoted URL, e.g.
'file:///home/gnoutchd/Lots%20of%20Junk.txt'.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnote 3.10.3-1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Jun 11 20:35:58 2014
SourcePackage: gnote
UpgradeStatus: Upgraded to trusty on 2014-04-15 (57 days ago)
** Affects: gnote (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329130
Title:
Can't link to files with spaces in their filenames
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnote/+bug/1329130/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs