# \[FEATURE\] Fix super slow scrollbar scroll speed

**URL:** <https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 16, 2020, 11:49pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774 "2020-09-16T23:49:39Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 16, 2020, 11:49pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/1 "2020-09-16T23:49:39Z")

</div>

v8.1.0

Been meaning to post this for a few years…  
Scrollbar scroll speed in seemingly all parts of the Designer and Vision clients is really really slow (it seems like the scroll pixel amount per ‘click’ is very low, something like 1-2px).  
This includes things like: Script console, drop down menus, alarm tables, tables, list components, etc. etc.

[https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/807914f34bd76b7b9bfc148a2791ab5d86defe61.mp4](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/807914f34bd76b7b9bfc148a2791ab5d86defe61.mp4)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 17, 2020, 12:03am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/2 "2020-09-17T00:03:16Z")

</div>

Only horizontally? Or vertically as well?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 17, 2020, 12:05am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/3 "2020-09-17T00:05:02Z")

</div>

Both

[https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/ab5837effd43d1e3e3d12a83e199cdd7b4a4d182.mp4](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/ab5837effd43d1e3e3d12a83e199cdd7b4a4d182.mp4)

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [September 17, 2020, 1:18am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/4 "2020-09-17T01:18:51Z")

</div>

Props to @nminchin for bringing up all these creature comfort requests. There are others out here noticing this stuff 😉 (even if we aren’t always requesting fixes).

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 17, 2020, 1:19am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/5 "2020-09-17T01:19:54Z")

</div>

Haha, I figured that was the case. Or perhaps I’m just really good at complaining 😆

---

<div class="post-metadata">

**Author:** ![Matthew.gaitan](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Matthew.gaitan](https://forum.inductiveautomation.com/u/Matthew.gaitan)\
**Post date:** [September 17, 2020, 2:43am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/6 "2020-09-17T02:43:39Z")

</div>

why not a bit of both 😛

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 17, 2020, 9:31am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/7 "2020-09-17T09:31:14Z")

</div>

> [@nminchin](#):
>
> Or perhaps I’m just really good at complaining

I figured everyone needs a hobby. 😉

---

<div class="post-metadata">

**Author:** ![levi\_jacobs](https://avatars.discourse-cdn.com/v4/letter/l/ba9def/32.png) [@levi\_jacobs](https://forum.inductiveautomation.com/u/levi_jacobs)\
**Post date:** [June 16, 2021, 3:22pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/8 "2021-06-16T15:22:42Z")

</div>

I’ve been running into this issue as well. Are there any plans to change the scroll speed?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 16, 2021, 3:26pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/9 "2021-06-16T15:26:02Z")

</div>

Specific windows/toolbars/etc in the designer need to be fixed individually (it’s a Java Swing thing), but we are fixing things as they come up, yes.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 16, 2021, 9:19pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/10 "2021-06-16T21:19:51Z")

</div>

Need to push the Swing a bit faster? 🕶

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 17, 2021, 1:07pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/11 "2021-06-17T13:07:48Z")

</div>

Gotta be careful, what goes up must come down…

But thanks for posting about this, I’ve taken the habit of clicking and moving the slider instead of scrolling so I hardly notice it anymore, but… that would be a nice QoL improvement.

---

<div class="post-metadata">

**Author:** ![dawid\_styczynski](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@dawid\_styczynski](https://forum.inductiveautomation.com/u/dawid_styczynski)\
**Post date:** [August 25, 2022, 12:34pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/12 "2022-08-25T12:34:16Z")

</div>

Hi there,  
I managed to change the scrollbar speed of my template repeater. This should also work for any other Vision components. I simply fire this code on the window event internalFrameOpened:

```auto
tr = system.gui.getParentWindow(event).getComponentForPath('Root Container.Template Repeater')
tr.getComponents()[1].getVerticalScrollBar().setUnitIncrement(100)

```

hope it helps 🙂

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [August 25, 2022, 6:09pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/13 "2022-08-25T18:09:25Z")

</div>

I actually use something similar for scrollable components, but fixing the path to the vertical scrollbar is a tiny bit prone to breaking in updates (fairly unlikely, but there’s still a chance if IA changes it up for some reason). So I find the vertical scrollbar instead in code and also set the scroll speed based on the number of items shown:

```auto
def fixScrollSpeed(scrollableObj):
	'''
	 Description:
	 Set the scroll 'speed' from extremely slow (default) to useable
	 Usage:
		if event.propertyName in ['componentRunning', 'editor']:
			shared.components.scrollable.fixScrollSpeed(event.source)
	'''
	components = scrollableObj.getComponents()
	
	# find the embedded JideScrollPane component
	for component in components:
		if str(type(component)) == "<type 'com.jidesoft.swing.JideScrollPane'>":
			scrollPane = component
	
	size = scrollPane.getSize()
	
	# set the scroll increment for the arrows to a fraction of the height of the scrollable panel
	scrollPane.getVerticalScrollBar().setUnitIncrement(size.height/4) #scroll amount for wheel and arrows
	
	# set the scroll increment when clicking on the scrollbar track piece to the height of the scrollable panel i.e. move 1 whole 'page' up/down
	scrollPane.getVerticalScrollBar().setBlockIncrement(size.height) #scroll amount clicking on scrollbar track

```

Unfortunately though it’s impossible\* to use something like this to change the scroll speed of the components in the Designer like the script console ☹

\*maybe it’s possible… but probably not

---

<div class="post-metadata">

**Author:** ![johannes.bo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/johannes.bo/32/27628_2.png) [@johannes.bo](https://forum.inductiveautomation.com/u/johannes.bo)\
**Post date:** [August 25, 2022, 7:30pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/14 "2022-08-25T19:30:04Z")

</div>

Thankyou for the inspiration!  
With some tweaking I got it to work for Vision template canvas also:-)

```auto
# set unit increment for the vertical scrollbar
tc = system.gui.getParentWindow(event).getComponentForPath('Root Container.TC')
verticalScrollPane = tc.getComponents()[2].getComponents()[1]
verticalScrollPane.setUnitIncrement(10)

```

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 17, 2024, 6:42am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/15 "2024-05-17T06:42:10Z")

</div>

Bump. This is still an issue in 8.1.31. It's so painful trying to scroll the output console...

Using the mouse wheel, this is initial view:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/c/5c0ebd23ee9c9b922ad3cdf7909649cb615f185b.png)

This is after scrolling a full flick of the wheel:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/f/1f158b6b4513089b6a6aa609b0fbfc8b718ff102.png)

I got a whole 1.5 lines down. needless to say, it takes a LONG time to mouse wheel scroll down a long output.

Same thing with horizontal scroll. Very painful

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [May 17, 2024, 7:36am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/16 "2024-05-17T07:36:02Z")

</div>

> [@nminchin](#):
>
> Unfortunately though it’s impossible\* to use something like this to change the scroll speed of the components in the Designer like the script console

It's easy. Run this code from the script console, and it will apply the properties from your script to every scroll bar in the designer:

```python
def fixScrollSpeed(scrollableObj):
	for component in scrollableObj.components:
		if 'ScrollBar' in component. __class__. __name__ :
			component.setUnitIncrement(component.maximum/4)
			component.setBlockIncrement(component.maximum)
		else:
			fixScrollSpeed(component)
from java.awt import Window
for window in Window.getWindows():
	fixScrollSpeed(window)

```

---

<div class="post-metadata">

**Author:** ![Brandon\_Peterson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brandon_peterson/32/32960_2.png) [@Brandon\_Peterson](https://forum.inductiveautomation.com/u/Brandon_Peterson)\
**Post date:** [June 3, 2024, 11:33pm UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/18 "2024-06-03T23:33:32Z")

</div>

Thank you for this!

I'll just add that 24 and 480 were pretty balanced for me. I think each line is 24px tall, and my Windows mouse properties multiply my mouse scroll by 3, so I get 3 lines in each tick of scrolling. Approximately 20x3 lines per "page" seemed fitting for the block increment too.

```python
def fixScrollSpeed(scrollableObj):
	for component in scrollableObj.components:
		if 'ScrollBar' in component. __class__. __name__ :
			component.setUnitIncrement(24)
			component.setBlockIncrement(480)
		else:
			fixScrollSpeed(component)
from java.awt import Window
for window in Window.getWindows():
	fixScrollSpeed(window)

```

I'm almost certain now that there's a way to do this to most Designer scrollables, but I'll have to dive into that another time...

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 15, 2024, 1:09am UTC](https://forum.inductiveautomation.com/t/feature-fix-super-slow-scrollbar-scroll-speed/38774/19 "2024-07-15T01:09:39Z")

</div>

Found another spot:  
Find/Replace tool content preview areas:
