pingdotgg / pingdotgg/t3code

[Bug]: SnapShot shortcut stops working after the desktop portal restarts

Open
#11,494 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Ctrl+Shift+2 stopped taking SnapShots on Omarchy after the desktop portal restarted. Hyprland still listed the binding and capture action.

  1. Start T3 Code with a working SnapShot shortcut.
  2. Restart xdg-desktop-portal while T3 stays open.
  3. Press the shortcut again after the service returns.

Expected: the shortcut resumes capturing automatically. Actual: it does nothing. Restarting T3 Code is the workaround.

PortalCaptureShortcut closes its connection on NameOwnerChanged without creating a replacement session. Reproduced at that boundary with a test portal on a private D-Bus session.

Observed on Linux, Omarchy/Hyprland 0.56.2, T3 Code 0.0.41-nightly.20260912.1612. Area: apps/desktop.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the apps/desktop area for PortalCaptureShortcut and its NameOwnerChanged handling. Reproduce the restart boundary with the test portal on a private D-Bus session, then verify that the connection creates a replacement session after the portal returns. Done means the existing Ctrl+Shift+2 shortcut resumes capturing without restarting T3 Code.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.