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

Offen
#3,900 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@richiemcilroy arbeitet bereits daran.

Seit 07.11.2026.

  • #3918 von @selzer25 — ohne Merge geschlossen
  • #3922 von @richiemcilroy — offen

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
rust, tauri
Bereich
desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
24.2k
Forks
2.2k
Ø Merge
1 T. 10 Std.
Gemergte PRs (30 T.)
684

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CapSoftware/Cap

Alle Issues in CapSoftware/Cap

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.