From 7b73d5ccc3fb3dc151bce3b2ee992047a014bb6a Mon Sep 17 00:00:00 2001 From: Nikolay Bukhalov <137557572+nzb3@users.noreply.github.com> Date: Mon, 22 Jun 2026 15:29:02 +0300 Subject: [PATCH] copilot_ui: Fix sign-in window floating above all applications (#59657) The Copilot code verification window was opened with `WindowKind::PopUp`, which causes the window to float above all other applications. Changed to `WindowKind::Normal` so it stays scoped to Zed. Fixes #51043 Release Notes: - Fixed Copilot sign-in window floating above all other applications instead of being scoped to Zed --- crates/copilot_ui/src/sign_in.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/copilot_ui/src/sign_in.rs b/crates/copilot_ui/src/sign_in.rs index 6d1f67607fc..28f8b25e0f1 100644 --- a/crates/copilot_ui/src/sign_in.rs +++ b/crates/copilot_ui/src/sign_in.rs @@ -63,7 +63,7 @@ fn open_copilot_code_verification_window(copilot: &Entity, window: &Win )); cx.open_window( WindowOptions { - kind: gpui::WindowKind::PopUp, + kind: gpui::WindowKind::Floating, window_bounds: Some(window_bounds), is_resizable: false, is_movable: true,