[Bug]: AppImage integration with gnome launcher broken

オープン
#35,990 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
linux
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
24.8k
フォーク
6.4k
平均マージ
59分
マージ済み PR(30日)
418

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。