[PD-dev] much better scrolling algorithm (pd-extended 0.42.5)

Hans-Christoph Steiner hans at at.or.at
Wed Nov 18 06:12:50 CET 2009


On Oct 31, 2009, at 9:41 PM, Ivica Ico Bukvic wrote:

>
>> 3) 0 0 coordinate-centric design IMHO does not make sense. From
>> historical perspective, old patches should still TTBOMK open just  
>> fine.
>> Yet, if 0 0 approach is still imposed, it results in unintuitive
>> behavior of scrollbars. e.g. try the following on 0.43 (or previous
>> versions without the suggested patch):
>>
>> create an object->create another object and slide it to the right  
>> until
>> it goes outside the canvas area->a horizontal scrollbar will indicate
>> there is more stuff to the right->scroll to the right and at this  
>> point
>> you may find both of your objects (effectively your whole patch)  
>> within
>> the canvas, yet the scrollbar will suggest there is something to the
>> left when there isn't.
>
> After testing this a bit more, here's a small correction. My
> implementation does pack everything to the right or the left depending
> upon where the whole canvas is located in respect to the 0 0 coord.  
> This
> does not however affect older patches. That said, I still feel this is
> more desirable and ultimately can be further adjusted as necessary.
>
> Best wishes,
>
> Ico
>

I wanted to try this now that I have a moment, but I couldn't find the  
patch. Did you add it to the patch tracker?

.hc


----------------------------------------------------------------------------

Computer science is no more related to the computer than astronomy is  
related to the telescope.      -Edsger Dykstra






More information about the Pd-dev mailing list