Sublime Forum

How to disable newly implemented scroll-resetting behavior from 4180?

#1

Hi,
From version 4180 Sublime Text implemented scroll-resetting behavior. But how to disable it?
To me, scroll not resetting (the old behavior) was a great feature of Sublime Text.
One of the very reasons I did not go to other text editors because Sublime Text did not reset scrolling.
Scroll-resetting damages the work speed because, one has to be very careful while scrolling otherwise it changes the view.
Thus, it can be very annoying and counter-productive.
I was amazed, that there is no option to disable it in the settings.

Thank you.

0 Likes

#2

ST follows platform specific standards as close as possible.

Scroll resetting was implemented due to feature request https://github.com/sublimehq/sublime_text/issues/6425

It is currently not configurable.

0 Likes

#3

Thank you for the reply.

I understand that standards should be maintained as closely as possible. That is good but one would hope that there should be settings to configure such UX behavior.
Scroll-reset has both pros and cons. For some people scroll-reset can be a feature and for some people scroll-not-reset can be a feature.
I thought ST intentionally decided scroll-not-reset as a feature.

Also, on another important note: platform specific standards can be made default but it should not be mandatory, otherwise it will be difficult for users to migrate from one platform to another.

Thus, I think it is an issue to note.

Thank you.

0 Likes

#4

I’m curious how this feature is affecting you? The area where scrolling is not reset is large enough that accidentally moving the mouse outside of it seems unlikely, especially if you’re on windows where every other application also implements this behavior.

We do have a hidden setting for changing this behavior. Setting "scroll_reset_distance": 0 should disable this behavior.

4 Likes

#5

Ohh, yet another hidden setting.

0 Likes

#6

Thank you very much, it worked like a charm.
Where one could find all the hidden settings? I searched in the net about this but didn’t find anything about this hidden setting.
Is it hidden because it is experimental?

Moreover, this setting will solve the https://github.com/sublimehq/sublime_text/issues/6425 issue more precisely as OP gave an example of 50% screen threshold. OP probably wanted to tune the setting too.

Most of the cross-platform apps do not reset scroll. Such as, famous apps like, LibreOffice, GIMP, etc. You can find numerous examples.
I guess their aim is to look and behave same among all the platforms as much as possible.

And beside, it is a debatable design choice look at this:
https://ux.stackexchange.com/questions/55623/why-do-scrollbars-revert-to-original-scroll-distance-when-mouse-is-dragged-sidew

And also another thing to note, the newly implemented scroll reset is not exactly behaving like Windows’ scroll reset. Because, Windows’ scroll reset has vertical distance too, not just the horizontal distance.
It seems ST developers forgot to implement the vertical distance.
Noted from this:
https://www.osnews.com/story/22601/windows-scrolling-behaviour-really-really-annoying/

Thank you.

0 Likes

#7

Where one could find all the hidden settings? I searched in the net about this but didn’t find anything about this hidden setting.

We don’t publish a list, that’s why they’re “hidden” :slight_smile:

We do this precisely for people like you. When implementing a new feature where we don’t expect people to be unhappy about it we still add a setting just in case.

Most of the cross-platform apps do not reset scroll. Such as, famous apps like, LibreOffice, GIMP, etc. You can find numerous examples.

With those specifically it’s because GTK doesn’t implement it and there’s not enough effort put into non-Linux support to get those details right. I doubt the GTK developers would be against conforming to standard platform behavior.

And also another thing to note, the newly implemented scroll reset is not exactly behaving like Windows’ scroll reset. Because, Windows’ scroll reset has vertical distance too, not just the horizontal distance.
It seems ST developers forgot to implement the vertical distance.

This is on purpose. During research it was primarily the same-axis resetting that was causing annoyance due to its small margins, whereas the opposite-axis resetting was something people found useful.

2 Likes

#8

Just to add for non-Windows users, this scroll-resetting behavior may work for non-Windows platform too via the hidden setting. Although, reading the changelog, it may seem that the feature is only implemented for Windows.

Some people want to replicate this behavior in non-Windows platform too, at least this is possible in ST, for them this is a nice thing.
Just an opinion, not that much important, making it non-hidden will allow users to discover it quickly.

Thank you.

0 Likes