<table><tr><td style="">sander updated this revision to Diff 53196.<br />sander edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ufa2jkuabe7hoc7/">(Show Details)</a><br />sander edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-dapcwrewc4q3ro2/">(Show Details)</a><br />sander added a comment.
</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><div><p>Make the new touch screen behavior optional.  There are three choices now in 'preferences->presentation':</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Forward/Backward: Tapping on the left(right) half of the screen makes the presentation go to the previous(next) slide.</li>
<li class="remarkup-list-item">Forward: Tapping on the screen makes the presentation go to the next slide, no matter where the screen is being tapped</li>
<li class="remarkup-list-item">Off: Screen tapping doesn't do anything.</li>
</ul>

<p>Please review the UI design and implementation; I am no expert in these thing.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Previously, touching a touch screen would advance the presentation to the next page no matter the cursor position.  With this patch, t<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">ouching the right half of the screen still leads to the next page being shown</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">his behavior can now be changed by a new option 'Tap Navigation' in 'Preferences->Presentation':<br />
<br />
* Forward/Backward: Tapping on the left(right) half of the screen<br />
      makes the presentation go to the previous(next) slide.<br />
* Forward: Tapping on the screen makes the presentation go to the<br />
      next slide</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">but touching</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">no matter where</span> the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">left half leads to the previous page now. </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">screen is being tapped<br />
* Off: Screen tapping doesn't do anything.</span><br />
<br />
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).<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">* Open a pdf in presentation mode<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">* Set Preferences->Presentation->Tap Navigation to 'Forward/Backward'<br />
</span>* Touch the right half of the touchscreen<div style="padding: 8px 0;">...</div>* Result: the previous page is shown<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
* Set Preferences->Presentation->Tap Navigation to 'Forward'<br />
* Touch the right half of the touchscreen<br />
* Result: the next page is shown<br />
* Touch the left half of the screen<br />
* Result: the next page is shown<br />
<br />
* Set Preferences->Presentation->Tap Navigation to 'Off'<br />
* Touch either half of the touchscreen<br />
* Result: nothing happens<br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D18118?vs=49288&id=53196">https://phabricator.kde.org/D18118?vs=49288&id=53196</a></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>conf/dlgpresentationbase.ui<br />
conf/okular_core.kcfg<br />
ui/presentationwidget.cpp<br />
ui/presentationwidget.h</div></div></div><br /><div><strong>To: </strong>sander, Okular, ngraham<br /><strong>Cc: </strong>gbodley, michaelweghorn, aacid, ngraham, okular-devel, tfella, darcyshen<br /></div>