Skip to content

[Skia] ListView pointer hover and scrolling with mouse wheel #8938

Description

@sarosigy

Current behavior

On linux platform, when hovering over an item, first it is indicated properly.
However, using the mouse wheel and scrolling down, the hover remains on that very item, even if it scrolled out of view.
Scrolling more, the hover comes into view on a fully different item.
Moving the mouse over a not hovered item, it also becomes hovered.
Scrolling up, the effect repeats. With more mouse moving, more false hovered items can be produced.
Screenshot_lvhov1
Screenshot_lvhov2
Screenshot_lvhov3
Screenshot_lvhov4
Screenshot_lvhov5

Expected behavior

The hover indication should follow when scrolling with mouse wheel

How to reproduce it (as minimally and precisely as possible)

Full source at link:

uno-lvtest-master.zip

Workaround

Hovering over and out of a previously hovered item clears the hover indication.

Works on UWP/WinUI

Yes

Environment

Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia

NuGet package version(s)

Uno.WinUI.Skia.Gtk Version="4.3.6"

Affected platforms

Skia (GTK on Linux/macOS/Windows)

IDE

Visual Studio Code

IDE version

1.67.2

Relevant plugins

Uno Platform 0.4.0

Anything else we need to know?

No response

Activity

  1. added
    difficulty/tbd
    kind/bug
    triage/untriaged
    on May 31, 2022
  2. added
    project/pointers 🖱️
    area/skia ✏️
    and removed
    triage/untriaged
    on May 31, 2022
  3. changed the title [-]Skia - ListView pointer hover and scrolling with wheel[/-] [+][Skia] `ListView` pointer hover and scrolling with mouse wheel[/+] on Jul 31, 2023
  4. added
    project/input ⌨️
    difficulty/medium 🤔
    and removed
    difficulty/tbd
    on Jul 31, 2023
  5. self-assigned this
    on Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/skia ✏️backporteddifficulty/medium 🤔kind/bugproject/input ⌨️project/pointers 🖱️

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions