Weird scrolling regression in the GDI renderer #17673

Open
opened 2026-01-31 05:49:46 +00:00 by claunia · 0 comments
Owner

Originally created by @j4james on GitHub (Jun 11, 2022).

Originally assigned to: @lhecker on GitHub.

Windows Terminal version

Commit 75e462441d

Windows build number

10.0.19044.1706

Other Software

No response

Steps to reproduce

  1. Checkout commit ed27737233 or later.
  2. Make sure you've got the GDI renderer enabled in the registry (i.e. UseDx is 0).
  3. Build and run OpenConsole.
  4. Perform a directory listing to make the viewport scroll.
  5. Press enter a few times to scroll some more.

Expected Behavior

Just normal scrolling.

Actual Behavior

Random bits of the screen scrolling independently of each other. Here's an example of the sort of thing I end up with.

image

I'm not sure how I hadn't noticed this before, but I think I've been using the DX renderer and only recently switched back to GDI (that's the only renderer that seems to be affected).

/cc @lhecker I think this might be PR #13025 again.

Originally created by @j4james on GitHub (Jun 11, 2022). Originally assigned to: @lhecker on GitHub. ### Windows Terminal version Commit 75e462441d8ce2e32a363ea2f66ad3a035c50f90 ### Windows build number 10.0.19044.1706 ### Other Software _No response_ ### Steps to reproduce 1. Checkout commit ed27737233714dea77877624d1beeb49e2ccd36e or later. 2. Make sure you've got the GDI renderer enabled in the registry (i.e. `UseDx` is 0). 3. Build and run OpenConsole. 4. Perform a directory listing to make the viewport scroll. 5. Press enter a few times to scroll some more. ### Expected Behavior Just normal scrolling. ### Actual Behavior Random bits of the screen scrolling independently of each other. Here's an example of the sort of thing I end up with. ![image](https://user-images.githubusercontent.com/4181424/173161769-13c40604-05fe-4d73-9567-776203ec67f4.png) I'm not sure how I hadn't noticed this before, but I think I've been using the DX renderer and only recently switched back to GDI (that's the only renderer that seems to be affected). /cc @lhecker I think this might be PR #13025 again.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17673