"Main window when recording starts: Minimise" hides the main window instead

未關閉
#3,900 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@richiemcilroy 已經在處理了。

開始於 2026年11月7日。

  • #3918 來自 @selzer25 —— 已關閉,未合併
  • #3922 來自 @richiemcilroy —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
rust, tauri
領域
desktop

研究方向

Start in apps/desktop-gpui/src/app_windows.rs at the recording-start handling around line 4176, and trace how the app reads mainWindowRecordingStartBehaviour. Compare that path with MainWindowRecordingStartBehaviour::perform in the Tauri app, which the issue says minimises the window for “Minimise.” Done means that setting minimises the main window when recording starts; the issue lists two linked pull requests, including one that is open.

由索引模型根據 Issue 內容生成。

描述

Description

Settings → General → Main window when recording starts offers "Close" and "Minimise", but the desktop app never reads mainWindowRecordingStartBehaviour. When a recording starts, apps/desktop-gpui/src/app_windows.rs calls hide_main_window whatever the setting (line 4176 on bb462da3a; its comment cites the Tauri perform call, whose default is Close). With "Minimise" selected, the main window is still hidden rather than minimised to the Dock.

The Tauri app's MainWindowRecordingStartBehaviour::perform minimised the window for "Minimise".

Reproduction
  1. Set Settings → General → Main window when recording starts to "Minimise".
  2. Start a recording.
  3. The main window is hidden, not minimised to the Dock.

Seen in Cap 0.6.2 on macOS.

Expected

"Minimise" minimises the main window when a recording starts.

主要語言
Rust
星號
24.2k
分支
2.2k
平均合併
1 天 10 小時
30 天內合併 PR
684

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CapSoftware/Cap 的其他 Issue

查看 CapSoftware/Cap 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。