Skip to content

GPUI hover state stuck on rapidly hovering over elements #45436

@errmayank

Description

@errmayank

Creating a separate issue for tracking.

Originally reported by @0PandaDEV (ref #43214 (comment))

Reproduction steps

I tested this in my app with the gpui version from this commit 42d5f7e due to this pr being merged #43324

In the video, you can see that the items don't correctly unhover when the hover action is executed too fast? I don't really understand what's happening here.

528830910-0ea2737a-ad1c-43ca-85a4-682152605e1b.mp4
div()
    .id(data.album.clone())
    .child(data.album.clone())
    .hover(|s| s.underline())

vleerapp/vleer@41923af

Current vs. Expected behavior

Current behavior: Hover state gets stuck on rapidly moving over the elements

Expected behavior: Elements should return to their unhovered state when the mouse exits

Zed version and system specs

Zed: v0.217.3+stable.105.80433cb239e868271457ac376673a5f75bc4adb1 (Zed)
OS: macOS 26.2
Memory: 16 GiB
Architecture: aarch64

Attach Zed log file

Relevant Zed settings

Relevant Keymap

No response

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:gpuiGPUI rendering framework supportcommunity championfrequency:alwaysBug that happens for everyone on every platform no matter how they use Zedpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:needs reproNeeds reproduction steps / someone to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions