Skip to content

Weird behaviour when scrolling horizontal in "git diff" #269

@prurigro

Description

@prurigro

Hi! I finally upgraded to 2.x after years of holding off with 1.8.9, and I think I have pretty much everything working well again except for some strange behaviour in git diff when I've scrolled horizontally.

Everything starts out lined up, but scroll a few columns right and the unchanged text scrolls as expected while everything else stays fixed against the edge of the buffer. Scroll a few more columns right and the old text begins to scroll correctly while the new text continues to stay fixed against the edge of the buffer. Eventually everything starts scrolling correctly, but the old and new lines aren't lined up, which makes spotting the differences difficult.

I realize my description might be a bit hard to parse, so I've included some screenshots to show what I mean:

Not scrolled at all:
1

Scrolled a few lines right and the unchanged text shifts while the rest stays fixed:
2

Scrolled a few more lines right and everything but the changed text starts to scroll correctly:
3

Scrolled a bunch of additional lines right and now everything is scrolling correctly but not lined up:
4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions