Repository navigation
fix(linux): 稳定全局快捷键与 Wayland 面板唤起 - #1
Merged
Merged
Conversation
KroMiose
added a commit
that referenced
this pull request
Oct 19, 2026
- X11: a key still held when a new shortcut is grabbed no longer swallows the next press (its release never reaches us; poll the keymap until it is released). - Portal: a press 400ms after the previous one counts as new, so a backend that never sends Deactivated doesn't leave the shortcut dead. - X11: pausing keeps a failed registration visible with Retry. - Wayland panel: GNOME and KDE keep the transparent maximized window measured in D37; other compositors use the fixed-size CSD window. - Docs: install guide back to a short user version; shortcut setup and manual bindings in docs/linux-shortcuts.md; build notes in apps/linux/README.md; decisions renumbered to D41 / D42. - README, website and llms text: Linux shortcut is Ctrl+Shift+Q. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Linux 快捷键可能在 Portal 信号监听失败后仍显示注册成功,X11 换键冲突会丢失旧绑定,Xwayland 连接也可能被误判为覆盖所有 Wayland 应用的全局能力。此 PR 统一后端生命周期和事件语义,并完善失败后的手动唤起路径。
qantrip toggle与 GApplication/D-Bus 单实例分发,传递激活上下文;提供 niri/Sway/Hyprland 配置及禁止长按重复的说明,不新增 UDS。dbus-daemon。不升级现有依赖版本,不修改共享核心或其他平台业务代码。How it was tested
在最新
main(0.5.0)基线上重新通过:rustfmt --check通过。全量cargo fmt -- --check在上游已有的sync.rs/sync_ui.rs两处格式差异处失败,未混入无关格式化。Checklist
cargo testpasses locally (Linux and core); cross-platform/cloud checks run in CIdocs/and Linux desktop metadata)