You are not logged in.

#1 2024-06-20 02:14:41

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Missing 'search' icon in Gnome 46

After a recent update, the new 'search' feature in Gnome Files (nautilus) seems to have a broken/missing icon:

Screenshot-from-2024-06-20-03-06-43.png

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

#2 2024-06-20 06:00:01

seth
Member
Registered: 2012-09-03
Posts: 60,796

Offline

#3 2024-06-20 12:09:38

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

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

#4 2024-06-20 19:36:57

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

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 hmm

Offline

#5 2024-06-20 22:59:10

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

The trace output has no 'icon' occurrence sadly.

Last edited by joaocandre (2024-06-20 22:59:18)

Offline

#6 2024-06-21 06:23:48

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

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

#7 2024-06-21 12:43:33

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

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:

https://pastebin.com/Z5H3vjAp

Offline

#8 2024-06-21 15:02:41

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

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

#9 2024-06-21 15:39:13

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

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

#10 2024-06-21 16:10:08

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

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

#11 2024-06-21 23:09:55

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

seth wrote:

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

#12 2024-06-22 05:51:15

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

Do you use some gtk/gdk/adwaita packages from the AUR?

pacman -Qmq

Offline

#13 2024-06-22 10:10:50

someUser
Member
Registered: 2021-01-03
Posts: 17

Re: Missing 'search' icon in Gnome 46

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

#14 2024-06-22 12:43:03

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

seth wrote:

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

#15 2024-06-22 15:24:15

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

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

#16 2024-06-24 16:43:34

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

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

#17 2024-06-24 21:13:06

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

seth wrote:

Have you tried the behavior w/ a new user account (might be some dconf setting)?

Offline

#18 2024-06-29 21:45:00

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Missing 'search' icon in Gnome 46

Yeah, the issue is still present on different account.

Offline

#19 2024-06-30 07:33:02

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: Missing 'search' icon in Gnome 46

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

Board footer

Powered by FluxBB