You are not logged in.
After a recent update, the new 'search' feature in Gnome Files (nautilus) seems to have a broken/missing icon:
Which happens regardless of the icon theme I am using, including the default theme Adwaita.
Moreover, while I usually cherry pick the gnome packages installed, I still have most in the 'gnome' group installed:
extra/gnome-backgrounds 46.0-1 (gnome) [installed]
extra/gnome-calculator 46.1-1 (gnome) [installed]
extra/gnome-calendar 46.1-2 (gnome) [installed]
extra/gnome-characters 46.0-1 (gnome)
extra/gnome-clocks 46.0-1 (gnome)
extra/gnome-color-manager 3.36.0+r62+g82000f1d-1 (gnome) [installed]
extra/gnome-connections 46.0-3 (gnome)
extra/gnome-console 46.0-2 (gnome) [installed]
extra/gnome-contacts 46.0-1 (gnome)
extra/gnome-control-center 46.2-1 (gnome) [installed]
extra/gnome-disk-utility 46.0-1 (gnome) [installed]
extra/gnome-font-viewer 46.0-2 (gnome) [installed]
extra/gnome-keyring 1:46.1-2 (gnome) [installed]
extra/gnome-logs 45.0-1 (gnome)
extra/gnome-maps 46.11-1 (gnome)
extra/gnome-menus 3.36.0-2 (gnome) [installed]
extra/gnome-music 1:46.0-2 (gnome)
extra/gnome-remote-desktop 46.2-1 (gnome)
extra/gnome-session 46.0-2 (gnome) [installed]
extra/gnome-settings-daemon 46.0-1 (gnome) [installed]
extra/gnome-shell 1:46.2-1 (gnome) [installed]
extra/gnome-shell-extensions 46.2-1 (gnome) [installed]
extra/gnome-software 46.2-1 (gnome)
extra/gnome-system-monitor 46.0-1 (gnome) [installed]
extra/gnome-text-editor 46.3-1 (gnome) [installed]
extra/gnome-tour 46.0-1 (gnome)
extra/gnome-user-docs 46.1-1 (gnome)
extra/gnome-user-share 43.0-1 (gnome) [installed]
extra/gnome-weather 46.0-1 (gnome)
I've tried reinstalling the Adwaita icon pack, but the issue persists, so I guess I'm missing some other extra dependency? How would I go about solving this?
Offline
Offline
Does not seem like the same issue, I already add adwaita-icon-theme-legacy installed, and it only really happens with the search icon on nautilus.
Installing breeze-icons does not work.
Thanks for the tip anyway.
Offline
https://www.debugpoint.com/wp-content/u … folder.jpg - those are even different icons…
You could strace nautilus to see what icons it's looking for (and doesn't find) - it's gonna be a shitload of text but
grep -E 'icon.*(find|search)'
might be a good guess if the icon has a reasonable name
Offline
The trace output has no 'icon' occurrence sadly.
Last edited by joaocandre (2024-06-20 22:59:18)
Offline
Did you kill all running nautilus instances beforehand ("ps aux | grep nauti")?
(It's probably a singleton and in that case nautilus would just dbus-trigger a new window)
There's basically no way that
strace any-gtk-process |& grep 'icon'
has no match.
Offline
Indeed I needed to kill nautilus processes. Now I get a large number of matches, many of them warnings about 'No such file or directory', but none specific to a 'search' or 'find' icon:
Offline
You're using the Papirus theme, not Adwaita. Is it *really* a problem w/ Adwaita as well (check the strace, nb. the singleton condition wrt your previous test)
There's nothing that looks like a relevant icon being accessed and there's https://gitlab.gnome.org/GNOME/gtk/-/is … te_1853811
The icon might be a built-in resource and that might fail depending on the used theme…
Offline
Yeah that was one of the first things I checked. Those icons are missing regardless of the icon theme I'm using, and normally I revert back to Papirus because that's the theme I usually use.
I've tried Adwaita, Adwaita-Legacy and a few others, no theme has that particular icon.
I wonder if the default themes are reverting to base icons in 'gnome' or 'hicolor', or if there is a way to override it, even it's built-in into nautilus, by patching the theme with the icon (would need to know the name/id of that icon).
Offline
Yeah that was one of the first things I checked.
Including killing all nautilus instances?
would need to know the name/id of that icon
That's the crux - nothing in the strace looks like a related icon (that then fails to load) so I suspect that the icon doesn't actuall exist as file but is a GTK resource - and gtk fails loading that resource unless you're using Adwaita (because of the linked bug)
This can be denied by changing the icon theme, killing all nautilus instances and starting a new one (or log out and back in)
Offline
Including killing all nautilus instances?
Yes. I repeated the same process, and not only was the icon still missing, the resulting trace was very similar (slightly smaller, so I guess there were missing icons that were found in Adwaita).
Even if it's a gtk resource (weird for just a couple of icons to be fetched that way) wouldn't there be an error pertaining to that specific resource?
I wonder what could have caused this, considering I don't see any similar issues being reported. As I've stated, I don't have all gnome packages installed, maybe some other dependency is missing?
Last edited by joaocandre (2024-06-21 23:10:20)
Offline
Do you use some gtk/gdk/adwaita packages from the AUR?
pacman -Qmq
Offline
You can get the icon name with GTK Inspector, see https://developer.gnome.org/documentati … ector.html for details.
The missing icons are provided by nautilus (https://gitlab.gnome.org/GNOME/nautilus … rces/icons) and built into the binary.
Offline
Do you use some gtk/gdk/adwaita packages from the AUR?
Not really, I usually just cherry pick the packages from the 'gnome' group to avoid unnecessary bloat, hence why though I may be missing some dependency
Although I do have adw-gtk3 installed, although I'm not using it.
I noticed some additional icons missing in the 'About Files' dialog, which fit into the list provided by someUser.
Offline
See post #13 and see what it resolves - but since it's a nautilus resource and shy of "pacman -Qkk nautilus" showing anything suspicious I don't know how that could not be available but for the gtk bug that prevents finding resources because of a custom icon path…
Anything in "printenv"? Have you tried the behavior w/ a new user account (might be some dconf setting)?
Offline
I get
nautilus: 413 total files, 0 altered files
when using `pacman -Qkk nautilus`.
Using GTK inspector indeed the missing icon (on of them at least) is "nautilus-folder-search-symbolic" which fits the link in post #13.
I've also tried to add those icons directly to Adwaita, but it doesn't fix the issue.
Offline
Have you tried the behavior w/ a new user account (might be some dconf setting)?
Offline
Yeah, the issue is still present on different account.
Offline
https://gitlab.gnome.org/GNOME/nautilus/-/issues/ - my gut feeling would still be that it's related to the mentioned gtk bug, but idk how the search path could be compromised with a fresh config (except if you manipulate the environment in some /etc/profile*,environment or have some presets in /etc/skel)
As for what you might be missing, I'd not put it beyond them to load icons via xdg-desktop-portal … do you have - and which - implementation of that installed?
Offline