SnapShot on Hyprland: capture shortcut does nothing, T3 never creates its portal shortcut session
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 1-2 天
- 新手友好度
- 49/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- desktop-dev
调研方向
Start by tracing the Hyprland-managed PortalCaptureShortcut path through CreateSession, the entry points named in the issue. Reproduce with the reported Hyprland shortcut setup and inspect whether session creation is reached or fails silently. Done means the shortcut starts a capture, or a logged error identifies why portal session creation failed.
由索引模型根据 Issue 内容生成。
描述
Environment
- Fedora, Wayland, Hyprland 0.55.2 with a Lua config
- T3 Code beta AppImage (desktop entry
X-AppImage-Version=0.1.5), installed Nov 13
Steps
- Settings → SnapShots: enabled. Under the toggle it says "Finish shortcut setup". "Change shortcut" shows no saved label.
- Added to
hyprland.lua:hl.bind("CTRL + SHIFT + 2", hl.dsp.global("com.t3tools.T3Code:capture-window")).hyprctl reloadreports no config errors. - Pressed Ctrl+Shift+2 (and Ctrl+Shift+1 in an earlier config). Nothing happens.
hyprctl dispatch 'hl.dsp.global("com.t3tools.T3Code:capture-window")'returnsok. The desktop trace shows nodesktop.snapShot.prepareCapturespan afterward.busctl --user tree org.freedesktop.portal.Desktoplists only other apps' GTK sessions. T3 has no session.- Settings → "Set up snapshots for Hyprland" → Shortcut step shows "This shortcut is already set up." with Done/Cancel. The config is unchanged, and T3 still has no portal session.
Expected: after setup, the Hyprland dispatch starts a capture.
Actual: no portal session, no capture, no error in the trace, xdg-desktop-portal or xdg-desktop-portal-hyprland logs.
Notes
- The Settings default is "Shift + Shift" (
both-shift-keys). On Hyprland the app ignores it and uses a hardcoded portal trigger of Ctrl+Shift+2. - The desktop trace shows
127.0.0.1:3773/.well-known/t3/environmentreturning 503 during startup. Not sure whether it's related. - Related but not the same: #35048 (merged, portal restart reconnect), #28989 (open, Lua conflict detection), #23426 (Hyprland activation timeouts).
Question for maintainers: does the Hyprland-managed path (PortalCaptureShortcut with managedByHyprland) fail silently before CreateSession? A logged error at that point would make this easy to diagnose.
- 主要语言
- TypeScript
- 星标
- 24.8k
- 派生
- 6.4k
- 平均合并
- 59 分钟
- 30 天内合并 PR
- 418
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pingdotgg/t3code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
via-triage
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 68/100
维护者通常 1 天内回复
-
Question card options show LaTeX as raw source, though the question text renders it可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[Bug]: Settings inheritance popover shows raw slugs for branch naming, default permissions and response streaming可能已有人在做 @juliusmarminge 于 1 天前认领。 未关闭vouch:denounced
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
相似的 Issue
-
bug platform:mobile root-cause:found
难度 2/5 1-3 小时 新手友好度 72/100
openchamber/openchamber#6926 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
push-based/user-flow#356 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
Cygnux-Labs/Tracekit#827 ·
维护者通常 1 天内回复
-
www build: a refused import shows only "ENOENT scandir <outDir>", never the build-audience error未关闭kind:defect
难度 1/5 1 小时以内 新手友好度 91/100
维护者通常 1 天内回复
-
type:bug
难度 2/5 1-3 小时 新手友好度 72/100
nightgauge/nightgauge#3266 ·
维护者通常 1 天内回复