[maemo-developers] Using the scrollbar on the N810

From: Neil MacLeod gmane at nmacleod.com
Date: Tue Feb 19 14:12:02 EET 2008
josh.soref at nokia.com wrote:
> Neil wrote:
>> Bug 2961[1] now opened for what it's worth... I've 
>> inadvertently assigned it to the incorrect component (input 
>> method framework) when it should be Window Manager (I think) 
>> - perhaps someone would be kind enough to reassign?
>>
>> After further investigation this problem is not due to the 
>> thumbtrack - simply dragging within the scrollbar region 
>> OUTSIDE the thumbtrack will result in the drag events being 
>> passed to the main application. I suspect I've often been 
>> "missing" the thumbtrack in the past and thus hitting this 
>> bug - ideally the window manager would allow for a few extra 
>> pixels above and below the thumbtrack widget when determining 
>> if it's been clicked upon!
>>
>> 1. https://bugs.maemo.org/show_bug.cgi?id=2961
> 
> Unfortunately, this isn't really how things work. Either a widget asks
> to capture input, in which case it can get events outside its
> boundaries, or it doesn't.
> 
> If a widget does ask to capture events outside its boundaries, it then
> needs to have some idea about what to do with them.
> 
> And that's hard (and each group will implement it differently, but
> poorly)....

Hi Josh - I'm guessing your reply concerns my comment about the thumbtrack capturing events slightly above/below and not the bug being discussed (2961)? If so I can understand what you're saying - it would just be nice if the scrollbar were able to allow for slightly mis-directed tocuhscreen hits! Ultimately I guess scrollbars will disappear to be replaced by more finger friendly drag/kinetic scrolling so improving thumbtrack hit detection isn't such a big deal, but fixing the broken click & drag event processing certainly is something which needs fixing.

I have tested bug 2961 on a 770 running OS 2007HE and Opera, and it is not present. And on a N810, bug 2961 doesn't appear to be present with other applications such as the RSS Feed Reader (which also supports page drag scrolling) so perhaps bug 2961 is in fact an EAL/MicroB issue?


More information about the maemo-developers mailing list