lapce / lapce/floem

Ensure hover state and other mouse events are updated after layout

Open
#751 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.3k
Forks
218
PR merge metrics
No merged PRs in 30d

Description

Hover states are only updated when the mouse has moved. This can lead to out of date state though when the layout changes without the mouse moving.

A previous attempt to fix this issue happened in #747 and in #748 but this was leading to stack overflows.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Reproduce a layout change while the mouse remains still, then trace how hover and other mouse events are refreshed; done means those states update after layout without causing the stack overflows seen in #747 and #748.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.