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

After clicking dropdown entry, node is stuck in hovered state #10312

Open
2 tasks
kazcw opened this issue Jun 18, 2024 · 1 comment
Open
2 tasks

After clicking dropdown entry, node is stuck in hovered state #10312

kazcw opened this issue Jun 18, 2024 · 1 comment
Labels
--bug Type: bug -gui d-unknown Difficulty: unable to estimate difficulty p-low Low priority

Comments

@kazcw
Copy link
Contributor

kazcw commented Jun 18, 2024

Discord username

No response

What type of issue is this?

Permanent – Occurring repeatably

Is this issue blocking you from using Enso?

  • Yes, I can't use Enso because of this issue.

Is this a regression?

  • Yes, previous version of Enso did not have this issue.

What issue are you facing?

After clicking a dropdown entry, sometimes the node selection is rendered in hovered state until the next time the node is hovered and un-hovered. The problem occurs when the clicked entry is far enough down the menu that once the menu closes, the pointer is over the graph background.

Expected behaviour

If after closing the dropdown menu the pointer is no longer over any part of the node, the node should stop being rendered as hovered.

How we can reproduce it?

No response

Screenshots or screencasts

No response

Logs

No response

Enso Version

current develop

Browser or standalone distribution

Chrome

Browser Version or standalone distribution

126.0.6478.61 (Official Build) (arm64)

Operating System

MacOS

Operating System Version

No response

Hardware you are using

No response

@kazcw
Copy link
Contributor Author

kazcw commented Jun 18, 2024

After the dropdown is removed from the DOM, we receive a spurious pointerenter event. There is no corresponding pointerleave.

The problem seems to be caused by a Chromium bug: https://issues.chromium.org/issues/40156858

We need to find a workaround. I have compared mouseenter/mouseleave, and they exhibit the same bug.

@kazcw kazcw changed the title After clicking dropdon entry, node is stuck in hovered state After clicking dropdown entry, node is stuck in hovered state Jun 18, 2024
@farmaazon farmaazon added this to the 2024-07 Release milestone Jun 19, 2024
@farmaazon farmaazon added d-unknown Difficulty: unable to estimate difficulty p-low Low priority and removed triage labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug -gui d-unknown Difficulty: unable to estimate difficulty p-low Low priority
Projects
Status: 📤 Backlog
Development

No branches or pull requests

2 participants