#10949 NORM 11.2.0-: Read activity does not support Home/End keys in PDF mode

Zarro Boogs per Child bugtracker at laptop.org
Wed Jun 8 14:49:45 EDT 2011


#10949: Read activity does not support Home/End keys in PDF mode
-------------------------------------+--------------------------------------
           Reporter:  greenfeld      |       Owner:  godiard                          
               Type:  defect         |      Status:  new                              
           Priority:  normal         |   Milestone:  11.2.0-final                     
          Component:  read-activity  |     Version:  Development build as of this date
         Resolution:                 |    Keywords:                                   
        Next_action:  design         |    Verified:  0                                
Deployment_affected:                 |   Blockedby:                                   
           Blocking:                 |  
-------------------------------------+--------------------------------------

Comment(by godiard):

 No so fast, mi friend :)

 We are using the square and check buttons at the side of the screen to
 zoom in and out.

 Are not the best keys, but we need zoom in/out when the xo is used in
 tablet mode.

 And the keys have the following codes: circle=KP_Home, check=KP_End,
 X=KP_Page_Down, O=KP_Page_Up.

 The keys in the keyboard have the codes: Up, Down,Left,Right and Page_Up,
 Page_Down, Home and End.

 Then I think is better use square and check to Zoom In/Out, and Home/End
 in the keyboard to go to the first and end page.

 Example:
 {{{
         elif keyname == 'KP_Home':
            self._view_toolbar.zoom_in()
         elif keyname == 'Home':
            self._view.scroll(gtk.SCROLL_START, False)
 }}}

 Also, I think End must go to the start of the last page, not to the end of
 the last page. In a document I have tested, the scrollbar was at the end,
 but the screen is gray and I needed to go up to see the document.

 Have you tested with a text file too? :)

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


More information about the Bugs mailing list