Repository navigation
Close welcome and settings when a capture starts - #4
Conversation
Activating the app for a capture unhid every window it owned, so a welcome or settings window left open came back with each hotkey press.
Review: findings at 1489a92BugsSummaryThe PR closes welcome and settings windows before starting a capture. The new settings close path bypasses cleanup that restores the capture hotkey. Findings1. Capture leaves the global shortcut disabled during shortcut recording (major)File: src/main.rs:121 Scenario: Open Settings → Shortcuts, click a shortcut to record new keys, then choose Capture from the tray menu. Consequence: Settings closes, but the global capture shortcut remains disabled after capturing or cancelling. The user must restore it through Settings or restart the app. Evidence: A headless probe ran the actual GPUI’s Verified
Not verified
StandardsItemsNone. SpecMerge dangerDoor: two-way. Blast radius: narrow. Changes only welcome and settings window closure when capture starts; reverting restores prior behavior. The body makes no merge danger claim. ItemsNone. verdict: findings |
Review: findings at 1489a92BugsSummaryThe PR closes welcome and settings windows before starting a capture. The new settings close path bypasses cleanup that restores the capture hotkey. Findings1. Capture leaves the global shortcut disabled during shortcut recording (major)File: src/main.rs:121 Scenario: Open Settings → Shortcuts, click a shortcut to record new keys, then choose Capture from the tray menu. Consequence: Settings closes, but the global capture shortcut remains disabled after capturing or cancelling. The user must restore it through Settings or restart the app. Evidence: A headless probe ran the actual GPUI’s Verified
Not verified
StandardsItemsNone. SpecMerge dangerDoor: two-way. Blast radius: small. The diff closes welcome and settings windows before capture starts; reverting restores prior behavior without cleanup. This agrees with the body. ItemsNone. verdict: findings |
Capture closes settings with remove_window, which skips on_window_should_close, so closing mid-recording left the hotkey off.
[claude-opus-5-5] RESPONDING ON BEHALF OF NOELReal bug, fixed in ed2b219. The hotkey restore moved from |
Review: pass at ed2b219BugsSummaryThe PR closes Welcome and Settings when capture starts and restores the capture hotkey when Settings is released. Focused headless probes found no new defects. Prior rounds
Verified
Not verified
StandardsItemsNone. SpecMerge dangerDoor: two-way. Blast radius: small. The diff closes welcome and settings windows before capture and restores the hotkey when settings is released. Reverting requires no cleanup. This agrees with the body. ItemsNone. verdict: pass |
Summary
Each hotkey press brought back a welcome or settings window the user had left open.
cx.activate(true)unhides every window the app owns, and a cancelled capture callscx.hide(), so the window disappeared and then came back on the next press.remove_windowskipson_window_should_close. Without the second change, capturing from the tray while settings records a shortcut would leave the hotkey off. Release runs on every close path.Welcome still opens only on the first launch. Settings still opens from the tray menu.
Evidence
cx.hide(). The next hotkey press unhid it.After: private instance launched with the welcome window open (onscreen=1). Pressed the hotkey: welcome onscreen=false while screencapture ran. Pressed Esc, then the hotkey again: the welcome window was gone from the window list.
Merge Danger
Door: two-way
Blast Radius: small
A capture started while settings is open closes settings. Settings saves on every change, so nothing is lost.