sander added a comment.
This looks like a definite improvement. It is still not perfect -- see my description at https://bugs.kde.org/show_bug.cgi?id=400890#c3 . As you seem to have acquired quite some understanding of that viewport positioning logic, could you maybe add some extra inline documentation for future generations? REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D16941 To: tobiasdeiminger Cc: sander, aacid, okular-devel, ngraham