[Bug]: AppImage integration with gnome launcher broken

Ouverte
#35,990 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
linux
Domaine
desktop

Piste de recherche

Start in apps/desktop, looking for the code that writes the AppImage's Linux .desktop entry at launch, and check the NoDisplay and StartupWMClass values it sets. The linked comment on issue 27257 describes the manual fix that works with the .deb build. Done means a generated entry with NoDisplay=false and StartupWMClass=com.t3tools.T3Code that survives relaunching the AppImage, verified on GNOME.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

bug needs-triage
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

When installing t3 code via .AppImage in gnome (Ubuntu 26.10 and 26.04 tested in this case), it doesn't integrate with gnome activities overview launcher, like it is not available to launch/switch in there via the activities launcher.

Even if you manually edit the .desktop file to make it available, every launch of the app overwrites the .desktop with no activities launcher integration.

This makes using t3 code inconvenient to use via the .AppImage in gnome as the activities launcher is the main way in gnome to launch/switch to applications.

Steps to reproduce in gnome (ubuntu 26.10 and 26.04)

  1. Download the .AppImage
  2. Change the permissions of the .AppImage for it to be launched chmod +x T3-Code-0.1.9-x86_64.AppImage
  3. Launch the .AppImage manually via the files app or terminal
  4. No integration with the activities overview launcher, you can't launch or switch to t3 code with it.

The fix would be that when the .AppImage creates the .desktop files, it sets NoDisplay=false and adds StartupWMClass=com.t3tools.T3Code.

  • Current .desktop the .AppImage creates
[Desktop Entry]
Type=Application
Name=T3 Code (Beta)
Exec=/home/danielc/Applications/T3-Code-0.1.9-x86_64.AppImage %U
Icon=/home/danielc/.local/share/icons/com.t3tools.T3Code.desktop.png
Terminal=false
NoDisplay=true
StartupNotify=false
MimeType=x-scheme-handler/t3code;
  • .desktop fix
[Desktop Entry]
Type=Application
Name=T3 Code (Beta)
Exec=/home/danielc/Applications/T3-Code-0.1.9-x86_64.AppImage %U
Icon=/home/danielc/.local/share/icons/com.t3tools.T3Code.desktop.png
Terminal=false
NoDisplay=false
StartupNotify=false
MimeType=x-scheme-handler/t3code;
StartupWMClass=com.t3tools.T3Code

The main fixes are this

NoDisplay=false
StartupWMClass=com.t3tools.T3Code

The NoDisplay=false allows launcher integration and StartupWMClass=com.t3tools.T3Code allows switching to the app via the launcher when the app is open.

The path /home/danielc is for my system, this is different for every installation home folder.

Expected behavior
  1. Download the .AppImage
  2. Change the permissions of the .AppImage for it to be launched chmod +x T3-Code-0.1.9-x86_64.AppImage
  3. Launch the .AppImage manually via the files app or terminal
  4. Full integration with the activities overview launcher.
  5. When t3 code closed, launch the activities launcher, search for t3 code to launch it.
  6. When t3 code already open but other app is in focus, launch the activities launcher, search for t3 code to switch to it.
Actual behavior
  1. Download the .AppImage
  2. Change the permissions of the .AppImage for it to be launched chmod +x T3-Code-0.1.9-x86_64.AppImage
  3. Launch the .AppImage manually via the files app or terminal
  4. No integration with the activities overview launcher, you can't launch or switch to t3 code with it.
Impact

Blocks work completely

Version or commit

No response

Environment

Ubuntu 26.10 (also tested 26.04 with the same result)

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Even if you manually edit the .desktop file to make it available, every launch of the app overwrites the .desktop with no activities launcher integration, so in regards of the .AppImage there is no workaround.

Install t3 code with the .deb and apply the one shot fix in here https://github.com/pingdotgg/t3code/issues/27257#event-35822844264

The caveat of using the .deb is that to update you need to enter your sudo password in t3 code.

Langage dominant
TypeScript
Étoiles
24.8k
Forks
6.4k
Merge moyen
59 min
PR mergées (30 j)
418

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de pingdotgg/t3code

Toutes les issues de pingdotgg/t3code

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.