Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Remove scrolling elasticity in Xcode Apps
Mac OS X Lion introduced iOS-style scrolling elasticity. Do you think it's annoying, and it slows you down while working in Xcode? Here's how to remove it.

Copy this Xcode plugin to the following directory:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/

You should create the directories if needed.

Enjoy!
    •    
  • Currently 3.11 / 5
  You rated: 2 / 5 (9 votes cast)
 
[5,251 views]  

Remove scrolling elasticity in Xcode | 9 comments | Create New Account
Click here to return to the 'Remove scrolling elasticity in Xcode' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remove scrolling elasticity in Xcode
Authored by: Havner on May 08, '12 08:05:12AM

If only someone would find a way to disable this elastic scrolling globally :-(

Anyway, the plugin works great. Thanks.
I've noticed it also works on the whole organizer and documentation. So it seems to be something with global influence on the UI for a process. Maybe there is a way of injecting something like this everywhere?

Edited on May 08, '12 08:11:33AM by Havner



[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: tclementdev on May 08, '12 08:32:28AM

I wrote the plugin. The same technique can be used to disable elastic scrolling in other applications as well but code injection is intrusive. I'm not sure there is a good way to only inject code into applications that link against the AppKit. The nice thing about using the Xcode plugin architecture is that it confines the code injection to Xcode only.

If you want to be able to disable elastic scrolling for other applications, I suggest telling Apple using one of these links:
http://www.apple.com/feedback/macosx.html
http://bugreport.apple.com/



[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: Fofer on May 08, '12 08:25:47AM

I'd be happy if we could simply disable it in desktop Safari... it's so completely unnecessary, distracting and dizzying there...

In any case, here's a discussion about the rubber-band elasticity on Apple's discussion pages:
https://discussions.apple.com/message/18257559#18257559

Hopefully folks smarter than me will be able to come up with a way for us to disable it...



[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: Andrew J Freyer on May 08, '12 10:10:27AM

This is truly excellent.

---



[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: arcticmac on May 08, '12 10:38:33AM

You could also "upgrade" to an older mac - my white macbook seems to be too old to support the elastic scrolling. :P

Have you tried disabling "intertia" on scrolling in the universal access prefpane?

If you're looking for 'defaults' keys, I can suggest a few, but I can't test any of them since (as stated above) my computer doesn't produce the behavior in the first place.
In a specific app (or perhaps NSGlobalDomain), you could try:
NSAutoscrollResponseMultiplier
NSDebugOverlayScrollerLogic
NSDebugScrolling
NSSurfaceBackedOverlayScrollers

Or in com.apple.driver.AppleHIDMouse you could try
ScrollS
ScrollSSize



[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: arcticmac on May 08, '12 01:16:04PM

Upon further poking, I believe the defaults key you're looking for is 'NSScrollViewRubberbanding'. So maybe something like

defaults write -g NSScrollViewRubberbanding -bool NO

will do what you want. Again, I can't test 'cause my machine doesn't support inertial scrolling or rubberbanding in the first place. I just know that I watched TextEdit check that preference key, and it sounds pretty promising, so...

Or perhaps (based on that thread over at apple discussions), it wants a numeric argument...

Edited on May 08, '12 02:10:09PM by arcticmac


[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: marook on May 08, '12 04:02:30PM
Nope, does not work.. :-/ At least not in Safari..
---
/Marook
Edited on May 08, '12 04:03:39PM by marook


[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: tclementdev on May 09, '12 10:20:26AM

Yes this seems to work fine:
defaults write -g NSScrollViewRubberbanding -bool false

So I think this is the better solution :-)



[ Reply to This | # ]
Remove scrolling elasticity in Xcode
Authored by: Fofer on May 09, '12 11:41:10AM

Thanks for this; I see it's working for me in TextEdit. Fantastic! But, unfortunately, it seems to have no effect on Safari, where I'd appreciate it most. Any other ideas?



[ Reply to This | # ]