[Trac #365] Scrollbar in the GTK+ theme OLPC is using is too small

Zarro Boogs per Child bugtracker at laptop.org
Sat Jan 13 17:49:53 EST 2007


#365: Scrollbar in the GTK+ theme OLPC is using is too small
------------------------------+---------------------------------------------
 Reporter:  jg                |        Owner:  Eben   
     Type:  defect            |       Status:  new    
 Priority:  high              |    Milestone:  BTest-3
Component:  interface-design  |   Resolution:         
 Keywords:  relnote           |  
------------------------------+---------------------------------------------
Comment (by Eben):

 Really?  Of course I'm not familiar with the code at all, but basically
 the idea is to start a timer when the mouse reaches the edge, which it
 seems is already implemented.  Then 2) should be a matter of calculating
 velocity based on the vector from the previous mouse coordinates to the
 current ones, and restarting the timer whenever (mouseSpeed >
 speedThresh), and 3) should be a matter of keeping a boolean value for
 wether or not the mouse is down, and always restarting the timer on
 mouseUp.  (And, of course, this code would only be run as long as the
 mouse remained on the edge; otherwise the timer would be cleared.)

 Then the logic would be if(edgeTimer > timeThreshold && mouseNotPressed)
 showFrame();

 Mouse movement and mouse clicks should be system events that we can easily
 track, right?  I don't mean to push too hard, but from a design
 standpoint, all of these things need to be met in order for this to be
 usable, and I strongly feel that if we could have one person devote a few
 days to this it could be resolved.  Am I way off here in terms of
 complexity?  We have months to get it right before G1.

-- 
Ticket URL: <http://dev.laptop.org/ticket/365#comment:10>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list