<table><tr><td style="">kezik created this revision.<br />kezik added a reviewer: Okular.<br />kezik added a project: Okular.<br />Herald added a subscriber: okular-devel.<br />kezik 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/D16519">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>BUG: 399208</p>

<p>A workaround to the fact that on some hardware configurations with a wacom tablet (or, in general, an input device that generates a lot of events), okular accumulates several second of input latency</p>

<p>The timer is hardcoded to run at 60 fps, maybe that's not elegant</p>

<p>I see that there's similar functionality in a pair of other places, but I wasn't able to recycle the code efficiently</p>

<p>I tested this on a weak celeron n3450 laptop with no performance drawbacks<br />
I don't notice any additional stuttering or lag on my powerful desktop</p></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/D16519">https://phabricator.kde.org/D16519</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>ui/pageview.cpp<br />
ui/pageview.h</div></div></div><br /><div><strong>To: </strong>kezik, Okular<br /><strong>Cc: </strong>okular-devel, Okular, ngraham, aacid<br /></div>