Long Enough To Force An Elevator Into The Scrollbar Discussion
From LongEnoughToForceAnElevatorIntoTheScrollbar...
Well, I actually think RandyKramer is referring to the vertical scrollbar in the text input box of the edit page. And I'd say this reflects another bit of bad UI on the part of the browser developers. The scrollbar should never be present without both arrows and elevator; it doesn't make sense to have arrows with no elevator - especially since the arrows don't do anything until the text is long enough to scroll. -- TomStambaugh
In Squeak Morphic: left-click on the background (the World) and choose menu option "help..." and then "preferences...". You now get a window in which you can customize many things. To get non-disappearing scrollbars, change the option "inboardScrollbars" to "true". -- StephanHouben
Well using Mozilla 1.1 on Mac OS X, the scrollbar appears/disappears completely when required. Yes this means the text gets reflowed when you type the last character on a 'page'. It doesn't seem weird to me.
Concur. The behavior of having the scrollbar appear when needed and then the text getting reflowed to compensate for the smaller viewport is, at least to a "regular" Windoze user, quite the normal thing. This is because I have allocated just so much desktop space for a particular window and it is up to the window's management to utilize that space in displaying text. If the text can be displayed w/o a scrollbar, so be it. If a scrollbar is necessary then it comes out of that window's space and the text viewport gets smaller. Oh, well.
Try it under Win 3.1, 95, 98, and 2K. I'm not sure about Millennium, but I'd be willing to bet it's the same.
This is kind of off topic, but also rather bizarre...
So I'm hacking around in Python, and using IDLE for Windows to do so. (In case you're wondering, I'm writing a timers thread for Yaibot-now-Ennesbot.) At some point, I start getting exceptions I didn't expect, so I put in some print statements to see if I can get some more information. Now, instead of excepting, it hangs. Whoops.
Reopen IDLE, try the same thing again, after putting in something that ought to fix it. This time, instead of excepting or hanging, the function runs cleanly every time. For about 20 iterations. It then hangs. Nothing has changed, either. Hmm.
Reopen IDLE, run the code again. Same thing happens. It's about this time that I realize that there's about 24 lines of text available in the interactive window, and 3 of them are taken up by the startup text.
Reopen IDLE one more time, make the interactive window bigger, run the code. IDLE hangs precisely when there's enough text to force an elevator into the scroll bar, or when there's already one there. Having determined that my function is working fine and that the IDE is actually to blame, I take out the print statements, commit the code, and download PythonWin. :)
-- DanUznanski
We just got hit with some legacy functional code. It averages about 1500 lines per method, 28 methods per class, and conditonal/flow nesting is around 7 to 10. Forget about ScrollBarElevators if I were to print the code out, the pages would be long enough for a real elevator ... shaft.