<table><tr><td style="">sander created this revision.<br />Herald added a project: Okular.<br />Herald added a subscriber: okular-devel.<br />sander requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18118">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>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.</p>
<p>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.</p>
<p>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).</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Open a pdf in presentation mode</li>
<li class="remarkup-list-item">Click on the right half of the screen (with the left mouse button)</li>
<li class="remarkup-list-item">Result: the next page is shown</li>
<li class="remarkup-list-item">Click on the left half of the screen</li>
<li class="remarkup-list-item">Result: the previous page is shown</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18118">https://phabricator.kde.org/D18118</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>ui/presentationwidget.cpp<br />
ui/presentationwidget.h</div></div></div><br /><div><strong>To: </strong>sander<br /><strong>Cc: </strong>okular-devel, ngraham, darcyshen, aacid<br /></div>