Bug 102565 - page up, page down don't work in presentation mode
Summary: page up, page down don't work in presentation mode
Status: RESOLVED FIXED
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-26 23:29 UTC by Claus Wilke
Modified: 2005-03-27 21:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 )