Created attachment 128368 [details]
Bad rendering screenshot
STEPS TO REPRODUCE
1. Click show forms
2. Scroll a bit up/down (possibly zoom in as well)
Form fields are all messy rendered (see attachments)
Operating System: Manjaro Linux
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.4.38-1-MANJARO
OS Type: 64-bit
Created attachment 128369 [details]
Seems to me it's another regression of the QScroller patch, I can reproduce with release/20.04 branch but works in release/19.12 branch
Commit 09cb524f seems to be the responsible of the bug.
Does https://invent.kde.org/graphics/okular/merge_requests/169 fix it? I cannot check myself -- the bug doesn't show up here.
Tested on the original problematic PDF and it seems to fix the problem.
*** Bug 423819 has been marked as a duplicate of this bug. ***
New MR: https://invent.kde.org/graphics/okular/-/merge_requests/281
Git commit bdb2df773d774c15cf0a17fcae198d3f2452cdfa by Nate Graham, on behalf of Kezi Olio.
Committed on 25/09/2020 at 15:41.
Pushed by ngraham into branch 'release/20.08'.
Fix forms when inertially scrolling
`setViewport` automatically adds an item to the history if it finds that it
moved for more than a page, which we don't want to do when automatically
scrolling, as with inertial scrolling.
This commit adds a new function `setViewportWithHistory()` which takes an
argument to optionally avoid preserving history. This avoids breaking ABI.
The new history-less functionality is used when inertially scrolling.
M +20 -13 core/document.cpp
M +11 -0 core/document.h
M +3 -2 ui/pageview.cpp