Diff panel scrolled to bottom after new file loaded
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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