[lively-kernel] "native" scrollbars don't rotate

Fabian Bornhofen fbornhofen at googlemail.com
Wed Nov 9 17:37:55 CET 2011


Hi -

it could be possible to paint lightweight (non-native) scrollbars for
texts, lists etc. and make the native ones disappear without losing
the benefits of native text rendering. To me that would actually make
sense given that
(a) many browsers have rendering issues with scrollbars in LK and
(b) the current scrollbar _behavior_ is completely customized, anyway.

If anyone is interested in giving that a try, I'd appreciate it a lot.
I guess that you need some knowledge about scrolling-related CSS
properties, the desired behavior (see
http://lively-kernel.org/repository/webwerkstatt/specs/Scrolling.xhtml
and core/lively/morphic/Events.js, esp. ScrollableTrait) and then some
good idea of how to paint a new scrollbar into a text's morphNode. A
POC would be cool.
I have some higher priority items in my backlog right now, but I'd be
happy to help.

Best,
Fabian

On Wed, Nov 9, 2011 at 6:02 AM, Jens Lincke
<jens.lincke at hpi.uni-potsdam.de> wrote:
> Hi,
> we used to do it.... but there are quite a lot of people who like native
> widgets and expect such things.
> In Lively 2 we have gone the path of reusing as much as the browser can
> provide us as possible.
> Making the system more vulnerable to browser bugs but also it saved work,
> speeded things up, and make it look more like normal web applications.
>
> Best,
> Jens
>
>
> On 09.11.2011, at 13:52, Davide Della Casa wrote:
>
> Can we get LK to draw its own scrollbars rather than relying on the native
> ones? Seems to me like most of the other UI elements are custom-painted
> anyways.
> D
>
> On Wed, Nov 9, 2011 at 12:35 PM, Jens Lincke
> <jens.lincke at hpi.uni-potsdam.de> wrote:
>>
>> Hi, Davide
>> its a browser bug, also scaling lets parts of the scrollbar disappear.
>> Best,
>> Jens
>>
>> On 09.11.2011, at 13:12, Davide Della Casa wrote:
>>
>> Hi,
>> I was playing with the PartsBinBrowser
>> in http://lively-kernel.org/repository/webwerkstatt/documentation/7funthings.xhtml and
>> if I rotate the window the vertical scrollbar disappears (in Chrome
>> 15.0.874.106 m on Windows Vista).
>> Probably because the scrollbar is "native".
>> Is that a know "bug"? Is there a way to "ban" native scroll-bars
>> everywhere in lively kernel?
>> Cheers,
>> Davide Della Casa
>> _______________________________________________
>> lively-kernel mailing list
>> lively-kernel at hpi.uni-potsdam.de
>> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
>>
>
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
>
>
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
>
>


More information about the lively-kernel mailing list