Previous 1 4 5 6 7 8 9 Next 132 Replies Latest reply: Mar 6, 2014 9:09 AM by Alex Zavatone Go to original post
  • baltwo Level 9 (62,215 points)

    Alex Zavatone wrote:

    How did you figure it out?  Are there docs on what you can set using the defaults statement?

    I'm taking a stab at it, eliminating the caveats from the NSScrollElasticity constant discussed in the scroll view document:

     

    NSScrollElasticityAutomatic = 0,

    NSScrollElasticityNone = 1,

    NSScrollElasticityAllowed = 2

     

    Normally, defaults for constants use the same term. That's why it's a WAG, since I have no way of testing without a finger-waving device.

  • Topher Kessler Level 6 (9,865 points)

    Alex Zavatone wrote:

     

    I've been told by the guy who wrote the Xcode plugin that this will work, but I'm in the middle of debugging and can't reboot to Lion:

     

    defaults write -g NSScrollViewRubberbanding 1

     

    Anyone want to try it out?

     

    It sure doesnt.

  • tclementdev Level 1 (0 points)

    The correct command is actually:

    defaults write -g NSScrollViewRubberbanding -bool false

  • baltwo Level 9 (62,215 points)

    Follow-on. this google search term usually will get you Apple's developer documentation, using ScrollView as an example:

     

    ScrollView site:developer.apple.com

  • Alex Zavatone Level 1 (0 points)

    From the last time I read the docs, I think there are two areas where you can set this, but is was around 3:30 am.  Maybe that was to disable auto quitting of the GUI.

     

    That's next on the plate.

  • Fofer Level 1 (140 points)

    Indeed, I have just pasted the following command into Terminal.app:

     

    defaults write -g NSScrollViewRubberbanding -bool false

     

    And guess what?!?!? It works.  No more inane rubber-banding.  Hurrah! 

     

    But only in TextEdit. 

     

    It doesn't work in Safari, where we are wanting it most.  Boo!!!!

     

    One step closer, though?

  • tclementdev Level 1 (0 points)

    It works in many apps but not all. Most probably it doesn't work for apps which use a custom implementation of elastic scrolling.

  • Fofer Level 1 (140 points)

    To be honest, I'd be happy if I could simply get it to work in Safari only. 

     

    Does Safari use a "custom implementation of elastic scrolling?"  If so, why would it?

  • tclementdev Level 1 (0 points)

    Good question, I don't know :/

  • Alex Zavatone Level 1 (0 points)

    I didn't figure it out.  Tclement heard my cries of pain and gracefully added a few lines of code to an open source plugin for Xcode. 

     

    The lines of code you are referring to are in the header files for NSScrollView which, along with the NSScrollView programming reference were what I was trying to get working for TextEdit (and did) some weeks back around 3:30 AM.

     

    It's the figuring out how we can disable this globally, or write the variable states into plist files that I'm also very interested in getting understood.

     

    I just want to be able to disable all the crud in Lion so that it is a usable OS for me, considering that we will have to move to it some day.

     

    Bouncy ScrollViews, gray scroll bars where the graphics don't fill the width of the active scrollthumb, (they are the width of a quarter on my MacBook Pro) and apps that auto quit but really don't quit just make Lion useless to me.

     

    Once I am able to get the scrollViews fixed and auto quitting disabled I'll see what I can do to to add bounce back to Mail so I can bounce back all the junk my friends send me.

     

    Thanks Tom, you've helped immensely. 

  • Topher Kessler Level 6 (9,865 points)

    Adding bounce to Mail will likely require a plugin of sorts.

  • baltwo Level 9 (62,215 points)

    AFAICT, NSScrollViewRubberbanding isn't one of Apple's approved constants. Nothing, except a deprecated AppKitJava pub pops up, but that only mentions rubberbanding WRT NSBezierPath objects. As Topher Kessler mentioned, it doesn't work.

  • Fofer Level 1 (140 points)

    Just for the sake of completeness and collaboration, I found another discussion going on about the same issue, with many of the same ideas bandied about, here: http://apple.stackexchange.com/questions/18187/can-you-disable-rubber-band-scrol ling-in-os-x-lion

  • baltwo Level 9 (62,215 points)

     

    Fofer wrote:

     

    Indeed, I have just pasted the following command into Terminal.app:

     

    defaults write -g NSScrollViewRubberbanding -bool false

     

    And guess what?!?!? It works.  No more inane rubber-banding.  Hurrah! 

     

    But only in TextEdit. 

     

    It doesn't work in Safari, where we are wanting it most.  Boo!!!!

     

    One step closer, though?

     

    Interesting, since it's not documented anywhere that I can find.

  • Topher Kessler Level 6 (9,865 points)

    It actually works in all applications I've tried, except for Safari. It turns off the behavior in the Finder, TextEdit, Firefox, Pages, and basically everything...except Safari.

Previous 1 4 5 6 7 8 9 Next