Bug 8311 - .tlclient files does not get the ThinLinc icon in Nautilus/GNOME
Summary: .tlclient files does not get the ThinLinc icon in Nautilus/GNOME
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client platforms (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
Depends on:
Reported: 2024-02-20 09:14 CET by Linn
Modified: 2024-02-27 17:29 CET (History)
1 user (show)

See Also:
Acceptance Criteria:

Wrong icon shown in Nautilus/GNOME (35.12 KB, image/png)
2024-02-20 09:14 CET, Linn

Description Linn cendio 2024-02-20 09:14:23 CET
Created attachment 1180 [details]
Wrong icon shown in Nautilus/GNOME

Issue seen on Fedora 39 (Nautilus v. 45.2.1).

.tlclient files no longer get the correct icon when shown in Nautilus, see attached screenshot. The same file is shown correctly in Caja v. 1.26.3 (MATE's file manager).

I'm not sure if bug 7301 affects the icon shown, but after adding a workaround for it (adding a space in the file), the wrong icon is still shown.
Comment 1 Pierre Ossman cendio 2024-02-20 09:21:17 CET
Same issue on Fedora 38 with Nautilus 44.2.1.

It correctly identifies the file type, though, as it shows "ThinLinc Client Configuration", as well has "Open With ThinLinc Client" as the default choice.
Comment 2 Pierre Ossman cendio 2024-02-20 10:07:23 CET
Querying GIO, it shows it is supposed to prefer our icon:

> standard::icon: application-vnd.cendio.thinlinc.clientconf, application-x-generic, application-vnd.cendio.thinlinc.clientconf-symbolic, application-x-generic-symbolic

Perhaps it prefers the generic over ours for some reason? E.g., the generic has a "scalable" variant, whilst we do not.

We could also see if we can control the fallback better. Perhaps there is a more suitable generic icon if ours fails?
Comment 3 Pierre Ossman cendio 2024-02-27 17:29:21 CET
I did some digging, and this is unfortunately a bug in Gtk and not just Nautilus:


I would suspect things start working if we put our icons in the Adwaita folder. But that is a bit hacky.

Note You need to log in before you can comment on or make changes to this bug.