Skip to content

Visual glitches in the revision grid when scrolling many lines at a time with mouse wheel #10672

@MaxKoll

Description

@MaxKoll

Environment

  • Git Extensions 4.0.2.16100
  • Build 25100ec
  • Git 2.38.1.windows.1
  • Microsoft Windows NT 10.0.19045.0
  • .NET 6.0.13
  • DPI 134dpi (140% scaling)
  • Microsoft.WindowsDesktop.App Versions
    Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Issue description

When scrolling the revision grid by 8 lines at a time with mouse wheel, visual glitches appear:

  • Some rows are rendered out of place (shifted up or down), leading to duplicate rows and rows that are cut in half. All columns are affected.
  • When selecting these out-of-place rows, they are instantly updated and rendered correctly.
  • Tooltips don't seem to be affected.
  • The glitch occurs nearly always (while scrolling up or down).

Please see this video in which I first scroll down, then select rows:

pKFGUWQfKN.mp4

Steps to reproduce

  1. Configure your mouse wheel to scroll 8 lines at a time (Windows Settings > Devices > Mouse). I can reproduce the issue with any value between 6 and 20, but it becomes rare with bigger values and disappears with very big values (≳ 50).
  2. With your mouse wheel scroll up or down in the revision grid.

Did this work in previous version of GitExtensions?

The issue seems to be introduced by 02d5fdb. I did not observe it with its parent fbb4000.

Diagnostics

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: regressionregression, normally to latest official release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions