Murmele / Murmele/Gittyup

Diff panel scrolled to bottom after new file loaded

Open
#601 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
2.3k
Forks
171
Avg merge
3d 19h
Merged PRs (30d)
10

Description

Hi, here's a bug reproduction:

Step 1: prepare

  • I have the diff panel on the left and files panel on the right
  • I click some file on the right, it is loaded on the left; the file has many diffs
  • I scroll to the bottom of the diff panel

Step 2: bug

  • I click some OTHER file on the right, it is loaded on the left; the file has only a small diff
  • The diff panel is still scrolled to the bottom, and shows empty/weird content
  • I must scroll to the top of the diff panel

That is a bug - the diff panel should jump to the top when loading a new file.

Hope that is enough to repro the issue. Let me know if you need more info. Thanks!


gittyup 1.3.0 (latest tagged release)
ubuntu linux 22.04
git 2.34.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Reproduce it by switching from a long diff scrolled to the bottom to a file with a small diff, then trace the diff panel's file-loading entry point and scroll state. Done means selecting a new file places the panel at the top without empty or incorrect content.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, git
Domain
desktop, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.