Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll position lost upon commit deletion #1380

Open
neunato opened this issue Dec 23, 2021 · 2 comments
Open

Scroll position lost upon commit deletion #1380

neunato opened this issue Dec 23, 2021 · 2 comments

Comments

@neunato
Copy link

neunato commented Dec 23, 2021

Problem description

Deleting a selected commit (via SM or externally) causes the view to jump to the top, selecting the newest commit. When dealing with old commits in large repositories, this jump can be frustrating as the user has to locate their previous scroll position on their own.

Preferred solution

The parent of the deleted commit is selected.

@howeaj
Copy link

howeaj commented Dec 29, 2021

Not just deleting, editing too; I've seen the same very annoying thing while editing old commit messages, but it only seems to happen when they are a certain distance down; i.e. the scroll position is maintained while you are within ~30 or so commits from the top, but resets if you go any further than that.

To work around it, I made some temporary "bookmark" tags to get back to where I was.

@JGJP
Copy link

JGJP commented Nov 11, 2023

Similar issue happens on stash drop, pretty frustrating:

https://forum.sublimetext.com/t/sublime-merge-shouldnt-scroll-up-when-dropping-stash/70003/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants