GNOME Bugzilla – Bug 758447
'&' in file names "break" new undo delete pop-up (shows nothing, only button)
Last modified: 2016-02-24 10:24:35 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
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 &
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).
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.
Attachment 321847 [details] pushed as 427d89e - window: escape notification markup