Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(desktop-gpui): close the picker and show the main window when Start gives up on a moving window
Richie McIlroybe4fe9de9a97
diff --git a/apps/desktop-gpui/src/app_windows.rs b/apps/desktop-gpui/src/app_windows.rsindex 6251daf97..5ad90c092 100644--- a/apps/desktop-gpui/src/app_windows.rs+++ b/apps/desktop-gpui/src/app_windows.rs@@ -2481,6 +2481,10 @@ pub fn start_recording_from_overlay(target: ScreenCaptureTarget, cx: &mut App) {}if !settled {tracing::warn!("a picked window is still moving; recording not started");+ // The picker has nowhere to show the error: close it, which+ // puts the windows back, and bring the main window forward.+ dismiss_target_overlays(cx);+ show_main_window(cx);RecordingSession::global(cx).update(cx, |session, cx| {session.error =Some("The window is still being resized. Try starting again.".into());