#10806 BLOC 11.2.0-: No scrolling in Read

Zarro Boogs per Child bugtracker at laptop.org
Tue May 31 01:15:44 EDT 2011


#10806: No scrolling in Read
-------------------------------------+--------------------------------------
           Reporter:  erikos         |       Owner:  godiard                          
               Type:  defect         |      Status:  new                              
           Priority:  blocker        |   Milestone:  11.2.0-M4                        
          Component:  read-activity  |     Version:  Development build as of this date
         Resolution:                 |    Keywords:                                   
        Next_action:  review         |    Verified:  0                                
Deployment_affected:                 |   Blockedby:                                   
           Blocking:                 |  
-------------------------------------+--------------------------------------

Comment(by manuq):

 Tested the patches from godiard with pdf and epub formats.  I can now
 scroll the documents with the up and down arrows of the keyboard.

 Using the mouse on the scrollbar works as expected for pdf.  But for epub
 it doesn't.  Epub scrolling is slow, and sometimes it breaks and shows two
 scrollbars (see the screenshot attached).

 I think I have fixed it (see the patch attached).  The javascript that
 gets the page height for epub was breaking if called when the page is not
 loaded (document.body == null).  It outputs to the log:

 ** Message: console message: undefined @0: TypeError: 'null' is not an
 object

 There was a TODO comment in the code about this.

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


More information about the Bugs mailing list