#7636 NORM 8.2.0 (: duplicate Text morphs

Zarro Boogs per Child bugtracker at laptop.org
Fri Jul 25 09:08:39 EDT 2008


#7636: duplicate Text morphs
----------------------------+-----------------------------------------------
 Reporter:  subbu           |         Owner:  etoys               
     Type:  defect          |        Status:  new                 
 Priority:  normal          |     Milestone:  8.2.0 (was Update.2)
Component:  etoys-activity  |       Version:                      
 Keywords:                  |   Next_action:  diagnose            
 Verified:  0               |     Blockedby:                      
 Blocking:                  |  
----------------------------+-----------------------------------------------
 methods Flaps>>defaultsQuadsDefiningPlugInSupplies and
 TextMorph>>registerInFlapsRegistry contain two different TextMorph
 prototypes with the same label and thumbnails. Though the prototypes
 generate different content strings,
 IconicButtonWithLabel>>thumbnailForQuad:color: caches prototypes with the
 same label, so the second prototype will never get called.

 When the Supplies flap is regenerated in release builder, the supplies
 flap will contain two prototypes in it. One wraps and the other doesn't
 :-(. I found the duplicates in Squeakland release. I suspect the same
 could happen in OLPC images too.

 Suggest eliminating one or change the labels to "Label" (nowrap) and
 "Text" (wrappable).

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


More information about the Bugs mailing list