#6645 NORM Never A: Read of PDF suspends while showing "Loading..." rather than a page

Zarro Boogs per Child bugtracker at laptop.org
Thu Mar 6 19:48:27 EST 2008


#6645: Read of PDF suspends while showing "Loading..." rather than a page
----------------------------+-----------------------------------------------
  Reporter:  gnu            |       Owner:  rwh                              
      Type:  defect         |      Status:  new                              
  Priority:  normal         |   Milestone:  Never Assigned                   
 Component:  read-activity  |     Version:  Development build as of this date
Resolution:                 |    Keywords:  suspend                          
  Verified:  0              |    Blocking:                                   
 Blockedby:                 |  
----------------------------+-----------------------------------------------

Comment(by frankprindle):

 This is still happening in joyride 1741, which is the latest image I can
 find to download today.

 Basically read should render the current page and then render to its cache
 the next 2 pages. THEN if the user is still reading the first page, it's
 fine to suspend, but no sooner. As soon as he/she tries to advance to the
 next page, it should unsuspend and proceed to display that (cached) page
 and render the 4th page, THEN it can suspend again until the next user
 event. And so on. Also, read keeps the previous page in its cache, so
 going back a page will display the previous page immediately but should
 take a while to render the page previous to that to be cached before
 suspending.

 For example, reading this book:
 http://www.archive.org/download/flatlandromanceo00abbouoft/flatlandromanceo00abbouoft_bw.pdf
 , each page takes perhaps 20-30 seconds to render, so it's very important
 that the next 2 pages be rendered in the background before suspend.

 BTW, don't even try to read pages 4, 5, 6, or 7 of this book, as page 6
 causes read to eat up all memory and crash hard (this is the subject of
 another ticket, #5869.) Fortunately, there's nothing terribly important on
 those pages.

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



More information about the Bugs mailing list