#3793 NORM Update.: When dragging into etoys, mouse pointer jumps to top left

Zarro Boogs per Child bugtracker at laptop.org
Tue Mar 18 15:03:22 EDT 2008


#3793: When dragging into etoys, mouse pointer jumps to top left
-----------------------------+----------------------------------------------
  Reporter:  bert            |       Owner:  Takashi           
      Type:  defect          |      Status:  new               
  Priority:  normal          |   Milestone:  Update.2          
 Component:  etoys-activity  |     Version:  Git as of bug date
Resolution:                  |    Keywords:  vm                
  Verified:  0               |    Blocking:                    
 Blockedby:                  |  
-----------------------------+----------------------------------------------

Comment(by karl):

 This could be related to a issue that happen in Morph>>privateAddMorph:
 atIndex: when the added morph don't use/ know owners bounds. Or the
 initialization of a new morph is not relative to owner position.  I fixed
 this for ScriptEditorMorphs a while ago. The symptom was a big screen
 invalidation that slowed things down a lot.

 The fix was to explicitly tell the morph a approximate position before
 adding it:

 aMorph position: self position.
 self addMorph: aMorph.

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



More information about the Bugs mailing list