Menu

#39 Bottom part of last text row in Text widget is invisible.

closed-fixed
appuifw (50)
6
2007-03-27
2006-04-03
No

Bottom part of last text row in Text widget is
invisible in some situations. The Text widget should
leave out the last row if it cannot be displayed
completely.

Discussion

  • otsov

    otsov - 2006-04-04

    Logged In: YES
    user_id=1371303

    This is an old bug (see CQ #18). At that time the problem
    was in the SDK.

    I've only seen this in emulators, please report the device
    and the PyS60 version also if this is a device bug.

     
  • cyke64

    cyke64 - 2006-04-04

    Logged In: YES
    user_id=1225602

    With the default font installed on my Nokia 6600. None of
    them can be displayed entirely (last line is not displayed
    or partially ) on screen in 'full' and 'large' mode :(
    In 'normal' mode only 'latinbold19' ,
    'albi13','alp13','latinbold13','alpi13' are always displayed
    entirely

    PS : pys60 1.0 using another default font (I don't remember
    this one :( than pys60 1.2 and 1.3.1 font. Default font was
    always entirely displayed but now it is not correctly
    displayed ! I'm talking here only in 'normal' mode (the only
    mode provided by 1.0 !) Why are you change since the default
    font ?

     
  • Jukka Laurila

    Jukka Laurila - 2006-04-04

    Logged In: YES
    user_id=1162622

    cyke64, the default text font used is the same as in 1.0,
    but the line spacing is a bit denser in 1.2 and above. The
    current line spacing is the "correct" one for that font. The
    same fundamental bug probably existed in 1.0 also, but the
    line spacing just happened to match the widget size then.

     
  • Jukka Laurila

    Jukka Laurila - 2006-10-05
    • priority: 5 --> 6
     
  • Jukka Laurila

    Jukka Laurila - 2007-02-14

    Logged In: YES
    user_id=1162622
    Originator: YES

    The bug has been fixed so that the row where the cursor is is always visible completely. For most cases, this is what is actually wanted instead of not displaying a partial row somewhere where the cursor isn't.

    Fix will be included in 1.3.19.

    For the record, the required magic incantation was to call TextLayout()->RestrictScrollToTopsOfLines(EFalse) in CAppuifwText::SizeChanged method. I sure hope this time the fix works and doesn't break anything else...

     
  • Jukka Laurila

    Jukka Laurila - 2007-02-14
    • labels: --> appuifw
    • status: open --> open-fixed
     
  • Jukka Laurila

    Jukka Laurila - 2007-02-19
    • assigned_to: nobody --> jplauril
     
  • Jukka Laurila

    Jukka Laurila - 2007-03-27
    • status: open-fixed --> closed-fixed
     
  • Jukka Laurila

    Jukka Laurila - 2007-03-27

    Logged In: YES
    user_id=1162622
    Originator: YES

    Fix released. Closing.

     

Log in to post a comment.