#2351 NORM Update.: Hippo CanvasText doesn't handle scroll multiline messages properly

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 27 14:47:11 EST 2007


#2351: Hippo CanvasText doesn't handle scroll multiline messages properly
---------------------+------------------------------------------------------
  Reporter:  Zack    |       Owner:  marco    
      Type:  defect  |      Status:  new      
  Priority:  normal  |   Milestone:  Update.2 
 Component:  sugar   |     Version:           
Resolution:          |    Keywords:  update.1?
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by Eben):

 So, there are two problems here, both of which need to be fixed to make
 chat usable.

 1. The chat shouldn't, obviously, scroll up and off screen.  Instead, it
 should place the most recent message directly above the input field, one
 line above, leaving the remaining space for previous messages to give
 context.  Essentially, this means that it should automatically scroll to
 the bottom of the list with each message (once the "bottom" is properly
 defined, to rid us of the extra whitespace).

 2. The auto-scrolling should ''only'' happen when the scroll position of
 the window was at its maximum ''before'' a new message gets added.  That
 is, If I scroll up a few lines to read something, new messages should
 ''not'' reset my scroll position to the bottom, making it impossible for
 me to catch up on or revisit past conversation.  This is a fundamental
 that a lot of chat clients got wrong for a long long time.  Let's not make
 that mistake.

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



More information about the Bugs mailing list