Bug 102565

Summary: page up, page down don't work in presentation mode
Product: [Applications] kpdf Reporter: Claus Wilke <wilke>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Claus Wilke 2005-03-26 23:29:45 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs

I just upgraded to KDE 3.4. Kpdf has improved greatly! Thanks for the good work.

However, a minor quibble that prevents me from using kpdf for presentations: I cannot change slides with page up, page down. Instead, I have to use the left and right arrow keys. The problem is that most of the remote controls available (i.e., http://www.kensington.com/html/4390.html ) send page up, page down commands.

I think that by default, kpdf should react to these commands in presentation mode.

An additional suggestion: The kensington also has a third button that sends the letter 'b'. In powerpoint, this can be used to black out the screen. You could consider implementing this as well.
Comment 1 Albert Astals Cid 2005-03-27 21:15:31 UTC
CVS commit by aacid: 

Obey page up and page down keys in presentation mode
For the 'b' key thing open another wish report; remember 1 issue per bug report.
BUGS: 102565


  M +2 -2      presentationwidget.cpp   1.25


--- kdegraphics/kpdf/ui/presentationwidget.cpp  #1.24:1.25
@@ -173,7 +173,7 @@ void PresentationWidget::keyPressEvent( 
     if (m_width == -1) return;
         
-    if ( e->key() == Key_Left || e->key() == Key_Backspace )
+    if ( e->key() == Key_Left || e->key() == Key_Backspace || e->key() == Key_Prior )
         slotPrevPage();
-    else if ( e->key() == Key_Right || e->key() == Key_Space )
+    else if ( e->key() == Key_Right || e->key() == Key_Space || e->key() == Key_Next )
         slotNextPage();
     else if ( e->key() == Key_Escape )