After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758447 - '&' in file names "break" new undo delete pop-up (shows nothing, only button)
'&' in file names "break" new undo delete pop-up (shows nothing, only button)
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: 3.18
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-21 06:11 UTC by Branko Grubic (bitlord)
Modified: 2016-02-24 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
window: escape notification markup (1.32 KB, patch)
2016-02-22 14:10 UTC, Carlos Soriano
committed Details | Review

Description Branko Grubic (bitlord) 2015-11-21 06:11:01 UTC
If the file/directory name contains '&' in its name, Move to trash/delete undo pop-up notification cannot display its name, shows empty notification with a button only.

running f23 and nautilus-3.18.2-2.fc23.x86_64
Comment 1 Branko Grubic (bitlord) 2015-11-21 06:21:38 UTC
in log:

Nov 21 06:53:02 fedora.linux.gnu org.gnome.Nautilus[2092]: (nautilus:2895): Gtk-WARNING **: Failed to set text '“hello & world” deleted' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &
Comment 2 Branko Grubic (bitlord) 2015-11-21 14:30:21 UTC
Not sure if this is related, but if I delete something else before any file or directory which contains '&' in its name, previous file/directory name is shown in the undo pop-up, or in some cases pop-up doesn't appear at all when deleting files with '&' in the name (I don't know exact way to trigger this but it happens in some cases).
Comment 3 Carlos Soriano 2016-02-22 14:10:13 UTC
Created attachment 321847 [details] [review]
window: escape notification markup

If not, ampersands and so on are parsed and makes the label on the
notifications to disappear.
Comment 4 Carlos Soriano 2016-02-24 10:24:30 UTC
Attachment 321847 [details] pushed as 427d89e - window: escape notification markup