[Bug]: Linux Wayland (GNOME, Noctalia) overview shows a placeholder icon after AppImage reinstall #10894
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/desktop
Steps to reproduce#
- On Linux Wayland (niri with Noctalia), install or reinstall the T3 Code AppImage with Shelly or AppImageLauncher.
- Launch T3 Code.
- Open the compositor overview or workspace switcher.
Expected behavior#
The T3 Code window tile shows the T3 icon.
Actual behavior#
The tile is a generic glyph. The running window's Wayland app id is com.t3tools.T3Code. That name comes from Electron setDesktopName, which points at the hidden URL-handler desktop file. That file has NoDisplay=true and no Icon=. Noctalia lowercases the app id before lookup, so it also misses com.t3tools.T3Code.desktop.
#2331 appimagelauncher-icons / #2915 appimage-hicolor-icons already ship hicolor sizes inside the AppImage. Those files stay in APPDIR unless something copies them into the user icon theme, so overview still has nothing to resolve after a reinstall.
Impact#
Cosmetic issue
Version or commit#
Linux Nightly AppImage on current main
Environment#
Linux Wayland, niri, Noctalia, AppImage reinstalled with Shelly
Logs or stack traces#
# Window identity from niri
app-id: com.t3tools.T3Code
# Hidden handler (rewritten on every start)
~/.local/share/applications/com.t3tools.T3Code.desktop
NoDisplay=true
# no Icon=
# Packaged icons exist in APPDIR usr/share/icons/hicolor/*/apps/t3code.png
# and are not installed under ~/.local/share/icons/hicolor
Workaround#
None that survives a restart. T3 rewrites the URL-handler desktop file on every launch.
Thanks for the detailed report. You're right that GNOME pinning needs more than installing icon files. I've expanded #10895 linux-wayland-desktop-icon to cover launcher matching too.
GNOME checks StartupWMClass before the desktop filename. The visible launcher's
t3codevalue didn't match the window's existingcom.t3tools.T3Codeidentity, so GNOME selected the hidden URL handler and rejected it for favorites. The fix makes the visible launcher match, while keeping the handler hidden and preserving capture bindings. It doesn't add another visible launcher.I reproduced the failure and verified matching, pinning, and relaunch using generated desktop-entry fixtures with GNOME 50.4/Electron 44.1.0 on Wayland and Xwayland. I haven't tested your exact GNOME 46/AppImageLauncher setup.
Existing AppImageLauncher entries need re-integration to receive the corrected metadata. Old pins and previous-build entries aren't migrated automatically. Once a build includes this change, a retest without the read-only canonical-entry workaround would help confirm the remaining integration/update behavior.
mwolson(GitHub profile, opens in a new tab) changed the title
Adding a datapoint from X11, since the reports so far are all Wayland: same thing on Linux Mint 22.3, Cinnamon 6.6.9, X11, with the 0.0.42 AppImage. The window list shows a generic icon for the running T3 Code window. 0.0.40 was fine here.
I dug into why, in case it helps with #10895:
- #8103 (first in 0.0.42) calls
Electron.app.setDesktopName("com.t3tools.T3Code.desktop")inDesktopPreReadyPlatform.tsand writes that hidden entry (NoDisplay=true, noIcon=) on every launch. - Since Electron 43 (electron/electron#51424, "set XDG app ID and WM_CLASS based on normalized app name") the X11
WM_CLASSis derived from the desktop name as well, not fromproductName. So thecommandLine.appendSwitch("class", "t3code")right next to it no longer affects the main window.xpropon 0.0.42 showsWM_CLASS = "com.t3tools.t3code", "com.t3tools.T3Code". - Cinnamon (same heuristics as GNOME Shell) tries
StartupWMClassfirst and then matchesWM_CLASSagainst desktop file ids, so it lands on the hidden iconless entry. The window sets no_NET_WM_ICON, so there is no pixmap fallback either. On 0.0.40 nothing matched, and the shell could still link the first window through startup notification, which is why it looked fine until now.
Confirmed as a working local fix by adding
StartupWMClass=com.t3tools.T3Codeto my own visible launcher, which is what #10895 does for the packaged one, so that PR should cover X11 too. Happy to test a build if that helps.- #8103 (first in 0.0.42) calls
I reproduced this on Pop!_OS 24.04 with COSMIC/Wayland and the 0.0.43 nightly AppImage. T3 Code showed as a cog in the top panel. The AppImage contained the icon, but the generated
com.t3tools.T3Code.desktopentry had noIcon=line.I copied the bundled icon into
~/.local/share/icons/hicolor, addedIcon=t3codeto that entry, and made it read-only temporarily because T3 Code rewrites it on launch. The cog remained until I restartedcosmic-app-list; I checked the panel again and the T3 icon appeared. It may help to include the icon when generating the entry. On COSMIC, testing that change may also require an applet restart because it cached the old entry.Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Thanks for the report. One part of this is fixed on main in #14471. Please test on the nightly built from main on 2026-10-21, or on the next stable release. One part is still open: dock pinning and window-to-launcher matching (StartupWMClass) still map to the hidden URL-handler entry. If that part still matters to you, please open a new issue for that part only.
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Also affected on Ubuntu 24.04.4 LTS, GNOME Shell 46.0, Wayland, using AppImageLauncher 3.0.0-beta-2.
Observed with
0.0.41-nightly.20260909.1439; inspection of the installed0.0.41-nightly.20260909.1461AppImage confirms the same startup code remains present. This affects desktop integration beyond the cosmetic overview icon: the running app had no proper icon and could not be pinned to the GNOME dock normally.Reproduction / observations#
~/.local/share/applications/com.t3tools.T3Code.desktop: T3 Code generates a URL-handler entry withNoDisplay=trueand noIcon=.AppImageLauncher separately generated a visible desktop entry containing a valid installed icon and
StartupWMClass=t3code. The icon files were already present in the user's hicolor theme on this machine, so this instance does not depend on missing packaged icon installation or Noctalia's lowercase lookup.In build 1461's bundled
apps/desktop/dist-electron/main.cjs,renderUrlHandlerDesktopEntry()still emits the hidden, iconless entry. The pre-ready startup code unconditionally writes that entry, then callselectron.app.setDesktopName(linux.linuxDesktopEntryName)and sets the window class tot3code. This appears to associate the window with the hidden URL handler instead of the visible AppImageLauncher entry. The URL-handler registration service also writes this file when its content differs, so simply adding an icon or removingNoDisplayis not a durable repair.Workaround and update consequences#
Locally, we made the canonical entry visible, added an installed icon and
StartupWMClass=t3code, and made the file read-only to prevent startup overwrites. This is only a workaround: after integrating 1461, the repaired/pinned entry still pointed at 1439, while AppImageLauncher had entries for both builds. That left three similar application choices. We manually updated the canonical entry to 1461 and hid the duplicates. The extra visible entry was a consequence of this workaround, not a claim that an untouched install creates three visible entries by itself.Expected behavior: a visible application entry with a resolvable icon, working dock pinning, and a consistent window identity. Startup URL-handler registration should preserve that entry, or use a separate handler identity without making it the running window's desktop identity.
Report prepared with AI assistance from local desktop-entry and bundled-code inspection; build 1461 was not freshly retested with the workaround removed.