#3971 NORM 8.2.0 (: Moveing isn't smooth with external usb mouse on the paint.

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 25 12:32:32 EDT 2008


#3971: Moveing isn't smooth with external usb mouse on the paint.
------------------------------------------------+---------------------------
   Reporter:  arvinliu                          |       Owner:  alexandre                        
       Type:  defect                            |      Status:  new                              
   Priority:  normal                            |   Milestone:  8.2.0 (was Update.2)             
  Component:  paint/drawing-activity (oficina)  |     Version:  Development build as of this date
 Resolution:                                    |    Keywords:                                   
Next_action:  never set                         |    Verified:  0                                
  Blockedby:                                    |    Blocking:                                   
------------------------------------------------+---------------------------
Changes (by kreneskyp):

  * next_action:  => never set


Comment:

 The drawing functions call widget.queue_draw() which causes the entire
 drawing area to be redrawn.  Using
 widget.queue_draw_area(x,y,height,width) to redraw just the area that has
 been drawn in fixes the mouse sluggishness.  However, even when the box
 surrounds the updated area completely it is not always redrawn on the
 screen immediately.  This can be countered by specifying a larger redraw
 box.

 Moving the mouse faster causes the points to be more spread out, requiring
 a bigger redraw box.  It is possible to move the mouse fast enough that
 the redraw box must be as big as the entire canvas negating the solution.

-- 
Ticket URL: <http://dev.laptop.org/ticket/3971#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list