GNOME Bugzilla – Bug 748736
Nautilus is not showing custom icon & emblem
Last modified: 2018-06-20 09:27:50 UTC
FYI In Ubuntu 14.10 is working right with: nautilus 1:3.10.1 nautilus-data 1:3.10.1 In Ubuntu 15.04 (released 23 April) is not working with: nautilus 1:3.14.2 nautilus-data 1:3.14.2 Test: For a folder, check folder: costales@VM:~/Desktop$ gvfs-info -a metadata::emblems ~/Documents uri: file:///home/costales/Documents attributes: costales@VM:~/Desktop$ Set an emblem: gvfs-set-attribute -t stringv ~/Documents metadata::emblems "folder_emblem_in_progress" Set an icon: gvfs-set-attribute -t string ~/Documents metadata::custom-icon-name "brasero" BUG: This is overwriting the emblem. But the emblem is there yet: costales@VM:~/Desktop$ gvfs-info -a metadata::emblems ~/Documents uri: file:///home/costales/Documents attributes: metadata::emblems: [folder_emblem_in_progress] costales@VM:~/Desktop$ Unset icon: gvfs-set-attribute -t unset ~/Documents metadata::custom-icon-name AS YOU CAN SEE: The emblem is there yet. gvfs-set-attribute -t unset ~/Documents metadata::emblems Nautilus should show a custom icon & custom emblem together as in previous versions. Thanks in advance!
I can set a custom icon by right clicking on a file and going to the properties. Is this supposed to be the same thing as what you're trying to do (for the icon part)?
@Alexandre: Both of them, icon & emblem. Not just an icon. If you set an icon & emblem, the emblem will not appear. Best regards.
So just to make it clear and explicit: if you change the icon (with gvfs-set-attribute) and not the emblems it works alright? The issue is only when you do both in combination?
> if you change the icon and not the emblems it works alright? Yes. > The issue is only when you do both in combination? Yes.
Does this happen in both List view and Icon view? Or only one of the view modes?
This happens in all views and is still reproducible. I have a patch for this which I've submitted as a merge request: https://gitlab.gnome.org/GNOME/nautilus/merge_requests/254
Fixed by https://gitlab.gnome.org/GNOME/nautilus/commit/e4911691e845dc9abab9b059fce2348a8c3adef8