From c7de817bf91ed0da5f18a46128d6e6722f0147c5 Mon Sep 17 00:00:00 2001 From: Smit Barmase Date: Mon, 16 Jun 2025 22:25:25 +0530 Subject: [PATCH] editor: Fix code action not visible until mouse move or buffer interaction (#32804) Closes #32796 Regressed since https://github.com/zed-industries/zed/pull/32408. Fixed in same way as other related PRs https://github.com/zed-industries/zed/pull/32683, https://github.com/zed-industries/zed/pull/32692, https://github.com/zed-industries/zed/pull/32795. Release Notes: - Fixed issue where code actions are not visible until the mouse is moved when the `cursor_blink` setting is `false`. --- crates/editor/src/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 405d47f233..34aef9046d 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -5897,13 +5897,13 @@ impl Editor { scroll_handle: UniformListScrollHandle::default(), deployed_from, })); + cx.notify(); if spawn_straight_away { if let Some(task) = editor.confirm_code_action( &ConfirmCodeAction { item_ix: Some(0) }, window, cx, ) { - cx.notify(); return task; } }