#4562 HIGH 9.1.0: Long text in palettes not working

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 24 12:18:11 EDT 2008


#4562: Long text in palettes not working
---------------------+------------------------------------------------------
  Reporter:  erikos  |       Owner:  rwh    
      Type:  defect  |      Status:  new    
  Priority:  high    |   Milestone:  9.1.0  
 Component:  sugar   |     Version:         
Resolution:          |    Keywords:  9.1.0:?
  Verified:  0       |    Blocking:         
 Blockedby:          |  
---------------------+------------------------------------------------------
Changes (by Eben):

  * keywords:  => 9.1.0:?
  * milestone:  Retriage, Please! => 9.1.0


Comment:

 The screenshot here makes a couple things clear:

  1. The palette placement code is broken.  Currently, it tries to place
 the palette to the right (or, to the text-direction) of the button.  When
 it doesn't fit, it blindly places it to the right.  We should really be
 choosing whichever side has more room available when the palette requires
 lots of space.  Better yet, we should be choosing to align to the side
 with the most space, and then sliding the palette as necessary so that it
 doesn't go off the edge of the screen.

  2. We should be ellipsizing the text in the palette.  The best way to do
 this, ''in my mind'', is to provide a way to set the maximum width of the
 palette.  By default, we should probably set this value to 1/2 screen
 width, so that all palettes can fit on one side or the other.  Activities
 should be able to override this default if they want narrower or wider
 palettes in specific instances.

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


More information about the Bugs mailing list