compose-multiplatform: Hover doesn't always disappear after exit
Seems like sometimes the hover exit is not working as expected, as the item is still marked as if it was still being hovered.
Code to reproduce it:
fun main() = singleWindowApplication {
LazyColumn {
items(count = 10) { i ->
Text(
text = "Item number $i",
modifier = Modifier.clickable {}
)
}
}
}
GIF showing the problem where I hover the list’s items and sometimes some of them keep being hovered when the mouse is not on top them:
OS: Ubuntu 20.04 & Manjaro with KDE Compose Desktop Version: 1.0.0-beta5 (started happening since the first version that included the hovering)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Fix losing hover events, speed up scroll Fixes https://github.com/JetBrains/compose-jb/issues/1324 — committed to JetBrains/compose-multiplatform-core by igordmn 3 years ago
- Fix losing Exit event on scroll Fixes https://github.com/JetBrains/compose-jb/issues/1324#issuecomment-980509700 Compose doesn't work well if we send an event with different coordinates without send... — committed to JetBrains/compose-multiplatform-core by igordmn 3 years ago
- Events Call enter/exit events if we hover another popup Fixes https://github.com/JetBrains/compose-jb/issues/841 Consume key events Don't send event to focusable popup if there is no hovered popup... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- synth Make real synthetic move events I encountered code, where users doesn't use Compose events at all. They just listen to awtEvent, and check its type. The feature "send synthetic move event on ... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- synth Make real synthetic move events I encountered code, where users doesn't use Compose events at all. They just listen to awtEvent, and check its type. The feature "send synthetic move event on ... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- synth Make real synthetic move events I encountered code, where users doesn't use Compose events at all. They just listen to awtEvent, and check its type. The feature "send synthetic move event on ... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- synth Make real synthetic move events I encountered code, where users doesn't use Compose events at all. They just listen to awtEvent, and check its type. The feature "send synthetic move event on ... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to JetBrains/compose-multiplatform-core by igordmn 2 years ago
- Refactor synthetic events, fix losing Exit event on scroll 1. Don't send native event when we send synthetic events 2. Fix losing Exit event on scroll (https://github.com/JetBrains/compose-jb/issues... — committed to MatkovIvan/compose-multiplatform by igordmn 2 years ago
In 1.0.0-rc12 seems to work nicely 🥳 Good job and thanks @igordmn !
It appears, it isn’t completely fixed in 1.0.0. The new found cases should be fixed in 1.1.0
With rc5 the issue seems to be solved when simply hovering with the cursor, however, when hovering an item in a lazy list and then scrolling, it still sometimes ends up with a hovered line that shouldn’t be.