Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover service renders the hover pop-up too eagerly #14532

Open
cdamus opened this issue Nov 26, 2024 · 0 comments · May be fixed by #14533
Open

Hover service renders the hover pop-up too eagerly #14532

cdamus opened this issue Nov 26, 2024 · 0 comments · May be fixed by #14533

Comments

@cdamus
Copy link
Contributor

cdamus commented Nov 26, 2024

Bug Description:

As soon as the mouse pointer enters some element that requests a hover pop-up, the HoverService sets a timer that will fire and show the pop-up, regardless of what the pointer does next. Even passing quickly over some element on the way to another UI element that the user wants to interact with will cause the hover to appear and then, because the pointer is already elsewhere in the application, disappear again quickly. The resulting flash of UI is distracting.

Steps to Reproduce:

  1. Pass the mouse pointer into one of the items in the status bar and then quickly away to something else in the workbench.
  2. See the status bar hover pop up despite that it is now well removed from the scene of mouse pointer interactions.

A screen recording is attached, below.

Additional Information

  • Operating System: macOS Sequoia 15.1.1
  • Theia Version: 1.55.0, tip of main branch as of 26 Nov 2024

CleanShot 2024-11-26 at 11 17 11

cdamus added a commit to cdamus/theia that referenced this issue Nov 26, 2024
If the mouse exits before the HoverService has rendered its pop-up,
cancel the pending presentation of that pop-up.

Fixes eclipse-theia#14532

Signed-off-by: Christian W. Damus <[email protected]>
@cdamus cdamus linked a pull request Nov 26, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant