#3626 NORM Untriag: Entering pages out of range in Read

Zarro Boogs per Child bugtracker at laptop.org
Wed Sep 19 16:39:34 EDT 2007


#3626: Entering pages out of range in Read
---------------------------+------------------------------------------------
 Reporter:  Eben           |       Owner:  tomeu    
     Type:  defect         |      Status:  new      
 Priority:  normal         |   Milestone:  Untriaged
Component:  read-activity  |     Version:           
 Keywords:                 |    Verified:  0        
---------------------------+------------------------------------------------
 Assuming there are ''n'' pages in the document, entering ''x'' takes us to
 page:

  - ''x'' if 0 < ''x'' <= ''n''
  - ''n'' if ''x'' = ''n'' + 1
  - 1 otherwise (''x'' < 1 or ''x'' > ''n'' + 1)

 This should be:

  - ''x'' if 0 < ''x'' <= ''n''
  - ''n'' if ''x'' > ''n''
  - 1 otherwise (''x'' < 1)

 Granted, the current behavior is better than it was a few builds ago, when
 it seemed to be something weird like:

  - (''x''-''n'')/2 if ''x'' > ''n'' + 1

 But we can get this right.

-- 
Ticket URL: <https://dev.laptop.org/ticket/3626>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list