#1657 NORM FRS: dragging within browser bug

Zarro Boogs per Child bugtracker at laptop.org
Thu Jul 5 09:36:45 EDT 2007


#1657: dragging within browser bug
--------------------------+-------------------------------------------------
  Reporter:  erikb        |       Owner:  marco   
      Type:  defect       |      Status:  reopened
  Priority:  normal       |   Milestone:  FRS     
 Component:  web browser  |     Version:          
Resolution:               |    Keywords:          
  Verified:  0            |  
--------------------------+-------------------------------------------------
Comment (by walter):

 Replying to [ticket:1657 erikb]:
 > Within the sugar browser on an xo (not in sugar-jhbuild), when you drag
 a rendered DOM element, a small document icon appears and is slowly
 dragged along instead of the desired javascript interaction (e.g., moving
 an element).
 >
 > Try loading the attached file in the sugar browser, then try dragging
 the head of the xo-guy to see the problem.
 >

 I've attached a simple example of a workaround for this bug on the XO. The
 problem seems to be a coordinate mismatch: when laying out elements, a
 1200x900 pixel grid behaves as expected. However, the mouse coordinates
 seem to be returning on a grid of approximately 840x575 pixels. The
 example uses a scaling factor of 1.43 to track the mouse successfully. Not
 sure where the problem lies, but it is almost certainly related to the
 scaling being applied to the browser on the XO. --Walter

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



More information about the Bugs mailing list