sander created this revision.
Herald added a project: Okular.
Herald added a subscriber: okular-devel.
sander requested review of this revision.

REVISION SUMMARY
  Previously, left-clicking with the mouse would advance the presentation to 
the next page no matter the cursor position.  With this patch, clicks on the 
right half of the screen still lead to the next page being shown, but clicks on 
the left half lead to the previous page now.
  
  As touch events are set to create mouse events, touching on the left half of 
a touch screen will lead to the previous page, too. This should make people 
happy that use Okular for sheet music.
  
  The actual action happens on mouse-release.  For touch screens this means 
less interference with swipe gestures (which also allow to go to the 
previous/next page).

TEST PLAN
  - Open a pdf in presentation mode
  - Click on the right half of the screen (with the left mouse button)
  - Result: the next page is shown
  - Click on the left half of the screen
  - Result: the previous page is shown

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D18118

AFFECTED FILES
  ui/presentationwidget.cpp
  ui/presentationwidget.h

To: sander
Cc: okular-devel, ngraham, darcyshen, aacid

Reply via email to