You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The scroll position in the Files pane resets periodically #5097
@Perlence I noticed this too, and find it annoying. There are also other situations where selections are scrolled into view again, and not just in the Files panel, for example after every background fetch.
Here's a fix: #5134. It's a pretty fundamental change, I hope this didn't break anything, so thorough testing would be good.
@Perlence I pushed one more commit to make the code less confusing; please pull and build again. It shouldn't really change anything, but it's still better to test the latest version to be sure.
I found a regression: when scrolling down the branches panel and then checking out another branch, it wouldn't scroll up to the top to make the newly checked-out branch visible. I pushed a fix for that, but I do wonder how many more of these we have...
I decided to merge the PR because I want to build other work on top of it, and maintaining a stack of branches is becoming annoying. If we find other regressions, we'll just have to make new PRs to fix them.
Activity
stefanhaller commentedon Dec 22, 2025
@Perlence I noticed this too, and find it annoying. There are also other situations where selections are scrolled into view again, and not just in the Files panel, for example after every background fetch.
Here's a fix: #5134. It's a pretty fundamental change, I hope this didn't break anything, so thorough testing would be good.
Perlence commentedon Dec 22, 2025
It also fixes the issue with the background fetch? Great! I noticed it when I was browsing a long list of remote branches.
Let me build it and run it for a while.
stefanhaller commentedon Dec 22, 2025
@Perlence I pushed one more commit to make the code less confusing; please pull and build again. It shouldn't really change anything, but it's still better to test the latest version to be sure.
stefanhaller commentedon Dec 23, 2025
I found a regression: when scrolling down the branches panel and then checking out another branch, it wouldn't scroll up to the top to make the newly checked-out branch visible. I pushed a fix for that, but I do wonder how many more of these we have...
stefanhaller commentedon Dec 23, 2025
I decided to merge the PR because I want to build other work on top of it, and maintaining a stack of branches is becoming annoying. If we find other regressions, we'll just have to make new PRs to fix them.
Avoid scrolling the selection into view on refresh (#5134)
Perlence commentedon Dec 23, 2025
Thank you Stefan! I'll check out the master branch and see if I notice anything.
stefanhaller commentedon Jan 6, 2026
@Perlence Found another regression, fix is here: #5182
Perlence commentedon Jan 6, 2026
Wow! I personally haven't had any issues so far.