[Bug]: SnapShot shortcut stops working after the desktop portal restarts
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.
- Start T3 Code with a working SnapShot shortcut.
- Restart
xdg-desktop-portalwhile T3 stays open. - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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