zed/crates/gpui/src
Kirill Bulatov c11bde7bf4
Some checks are pending
CI / check_docs_only (push) Waiting to run
CI / Check Postgres and Protobuf migrations, mergability (push) Waiting to run
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Blocked by required conditions
CI / (Linux) Run Clippy and tests (push) Blocked by required conditions
CI / (Linux) Build Remote Server (push) Blocked by required conditions
CI / (Windows) Run Clippy and tests (push) Blocked by required conditions
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
CI / Auto release preview (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Script / ShellCheck Scripts (push) Waiting to run
Remove stuck tooltips (#22548)
Closes https://github.com/zed-industries/zed/issues/21657

Follow-up of https://github.com/zed-industries/zed/pull/22488
Previous PR broke git blame tooltips, which are expected to be open when
hovered, even if the mouse cursor is moved away from the actual blame
entry that caused the tooltip to appear.

Current version moves the invalidation logic into `prepaint_tooltip`,
where the new data about the tooltip origin is used to ensure we
invalidate only tooltips that have no mouse cursor in either origin
bounds or tooltip bounds (if it's hoverable).


Release Notes:

- Fixed tooltips getting stuck
2025-01-01 18:47:10 +00:00
..
app Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
elements Remove stuck tooltips (#22548) 2025-01-01 18:47:10 +00:00
keymap
platform Update Blade with acquire fixes, multisampling (#22409) 2024-12-27 21:29:03 +00:00
text_system Small fixes after terminal split (#22468) 2024-12-28 17:29:13 +00:00
window
action.rs
app.rs Remove stuck tooltips (#22548) 2025-01-01 18:47:10 +00:00
arena.rs
asset_cache.rs
assets.rs
bounds_tree.rs
color.rs gpui: Add linear gradient support to fill background (#20812) 2024-12-11 21:52:52 +02:00
element.rs Store focus handles in AppContext instead of Window (#22158) 2024-12-17 14:41:00 -07:00
executor.rs Remove Task::get_ready method I added, which is unusable in practice (#22012) 2024-12-14 03:21:41 -07:00
geometry.rs Fix docs for Bounds::from_corner_and_size (#22265) 2024-12-19 21:50:52 +00:00
global.rs
gpui.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
input.rs
interactive.rs Dequalify WindowContext and ViewContext references (#22477) 2024-12-28 23:09:55 +00:00
key_dispatch.rs
keymap.rs
platform.rs linux: Fix non-maximized Zed windows growing larger across sessions (#22301) 2024-12-20 22:23:25 +00:00
prelude.rs
scene.rs gpui: Add linear gradient support to fill background (#20812) 2024-12-11 21:52:52 +02:00
shared_string.rs
shared_uri.rs
style.rs Add Corner to geometry and make names of corner methods consistent (#22119) 2024-12-16 22:57:15 -07:00
styled.rs
subscription.rs
svg_renderer.rs
taffy.rs
test.rs
text_system.rs
util.rs
view.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
window.rs Remove stuck tooltips (#22548) 2025-01-01 18:47:10 +00:00