Ctrl+Shift+I also opens Tauri devtools while toggling the Properties panel on Windows/Linux
Summary
On Windows and Linux, the documented shortcut for toggling the Properties panel is Ctrl+Shift+I. The same combination is also bound by the Tauri 2 runtime to toggle the webview devtools, so pressing the shortcut does both at once. There is no setting to disable or rebind either action.
Environment
- Tolaria 2026.9.8 (Windows 11)
- Bundled Tauri runtime 2.11.5
- Vault: any
Steps to reproduce
- Open any note in Tolaria.
- Press Ctrl+Shift+I (Cmd+Shift+I on macOS is unaffected).
- Observe that the Properties panel toggles and a devtools window/pane opens.
Expected
Ctrl+Shift+I only toggles the Properties panel.
Actual
Both the Properties panel and the Tauri devtools toggle.
Root cause
Tauri 2.11.5 injects a global keydown listener into the webview that opens devtools. It does not call preventDefault() or stopImmediatePropagation(), and Tolaria's own Properties handler does not stop propagation either, so both handlers will run.
On macOS the collision does not happen because Tauri uses Cmd+Alt+I for devtools while Tolaria uses Cmd+Shift+I for Properties.
Proposed solutions
Option A — Do not inject the devtools hotkey in release builds (preferred for end users). Build the Tauri app without the devtools feature (or otherwise disable the webview devtools hotkey) so the runtime no longer installs this listener. Users get a clean Ctrl+Shift+I; developers can still enable devtools in debug builds.
Option B — Keep devtools but neutralize the collision in Tolaria's shortcut handling. Handle the Properties shortcut in the capture phase and stop the event before it reaches Tauri's listener.
Alternatively (or additionally), remap the Properties shortcut on Windows/Linux to a combination that does not collide with Tauri's devtools hotkey, and document the change.
────────────────────────────────────────────────────────────────────────────────
标题: Windows/Linux 下 Ctrl+Shift+I 在切换 Properties 面板的同时会打开 Tauri devtools
概述
在 Windows 和 Linux 上,切换 Properties 面板的官方快捷键是 Ctrl+Shift+I。而 Tauri 2 运行时把同一组合键绑定为切换 webview devtools,因此按下该快捷键会同时执行两个动作。目前没有设置可以禁用或重新绑定其中任何一个。
环境
- Tolaria 2026.9.8(Windows 11)
- 随包 Tauri 运行时 2.11.5
- Vault:任意
复现步骤
- 在 Tolaria 中打开任意笔记。
- 按下 Ctrl+Shift+I(macOS 的 Cmd+Shift+I 不受影响)。
- 可观察到 Properties 面板被切换,同时会打开 devtools 窗口/面板。
期望行为
Ctrl+Shift+I 只切换 Properties 面板。
实际行为
Properties 面板与 Tauri devtools 同时被切换。
根因
Tauri 2.11.5 会向 webview 注入一个全局 keydown 监听器用于打开 devtools。它没有调用 preventDefault() 或 stopImmediatePropagation(),而 Tolaria 自己的 Properties 处理函数也没有阻止事件传播,于是两个处理函数都会执行。
macOS 上不存在该冲突:Tauri 的 devtools 用 Cmd+Alt+I,Tolaria 的 Properties 用 Cmd+Shift+I。
建议方案
方案 A —— release 构建中不注入 devtools 快捷键(对终端用户最友好)。 在构建 Tauri 应用时不启用 devtools feature(或以其他方式禁用 webview devtools 快捷键),使运行时不再安装该监听器。用户 可获得干净的 Ctrl+Shift+I,开发者仍可在 debug 构建中启用 devtools。
方案 B —— 保留 devtools,但在 Tolaria 的快捷键处理中消除冲突。 在捕获阶段处理 Properties 快捷键,并在事件到达 Tauri 监听器之前阻止它。
另一可选做法是把 Windows/Linux 下的 Properties 快捷键改绑到不与 Tauri devtools 冲突的组合,并在文档中说明。
Source: refactoringhq/tolaria