sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
272 stars 14 forks source link

Selected file and scroll position lost when new commits fetched #1859

Open jskinner opened 6 months ago

jskinner commented 6 months ago

Version info

Description

When reviewing a commit, if new commits are fetched (either by auto fetch or by manually fetching), while the currently selected commit is preserved, the selected file within the commit, and the scroll position in the list of files is lost. This can be annoying when trying to review a commit that touches several hundred files.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open repository
  2. Select a commit that touches many files
  3. Switch to the Files tab, scroll down, and selected a file
  4. Fetch a new commit (there has to actually be a new commit, a fetch that does nothing has no effect on the selection)

Expected behavior

Currently selected file and scroll position within the list of files is maintained.

Actual behaviour

Scroll position in the list of files resets to the beginning

themilkman commented 6 months ago

Related, I guess: #1739