Sublime Forum

Horizongal scroll is horribly broken

#1

the horizontal scroll bar only pans the lowest chunk on the display right and left, it should pan every visible code chunk so I dont need to lose visual context on one chunk just to pan through another.

0 Likes

#2

Hi @mark4,

Thanks for your feedback!

There should be a scroll-bar per diff hunk. To reveal the scroll bar, you can either begin scrolling with the mouse wheel, or hover over the scroll bar area with the mouse.

Neither of these options should result in you changing your vertical scroll position.

Let me know if this doesn’t work for you!

Thanks,
- Dylan

0 Likes

#3

no scroll bar ever appears other than the one for the bottom hunk

0 Likes

#4

Hi @mark4,

What operating system are you using, and what version of Sublime Merge are you using?

When you hover over the bottom of the hunk, a scroll bar should appear like so (if the contents of the diff doesn’t fit in the screen).
scroll%20bar

Are you sure the contents of the file does not fit on the screen, and word wrapping is not enabled?

Thanks,
- Dylan

0 Likes

#5

I am also having this same problem. I cannot get horizontal scrollbars to appear for the life of me.

I’m using Ubuntu 20.04, Sublime Merge stable channel 2074. I have the Cinnamon desktop installed, but I also tried it with the vanilla (No pun intended!) desktop “Ubuntu” and the problem is still there.

I saw a release note a release or so back that had something about following the system scrollbar setting, but I couldn’t get any changes to the system scrollbar settings to make any difference one way or the other. Just so I’m on the same page: Where does one go to change the system scrollbar settings?

I switched back to the 2068 version and the scrollbars work as expected in that version.

If I set the scrollbars to “Use overlay scroll bars” in Themes settings, it makes no difference.

I can get a horizontal scrollbar if I click in the chunk and then “arrow” off to the right with the keyboard.

Any thoughts?

Ric

PS: I really love Sublime Merge!

0 Likes

#6

If you use Preferences > Edit Settings the settings file will open up; you add the setting there:

	// Valid values are "system", "enabled" and "disabled"
	"overlay_scroll_bars": "system",

If you don’t want the scrollbars to ever overlay, set the setting to "disabled"; using "enabled" forces it to be turned on no matter what, and "system" follows the overall OS preference for that.

0 Likes

#7

I can get back to the 2068 behavior by using “disabled”. That works for me.

Thank you.

Ric

0 Likes