aacid added a comment.
This doesn't make sense to me, this code should not be triggered in the case that is higlighted in this bug since AutoFit in that very long document should never be a case of "the scrollbar vs no scrollbar fight", so what we need to figure out is why the if is being triggered and protect against it, not fixing what is inside the if. REPOSITORY R223 Okular BRANCH master REVISION DETAIL https://phabricator.kde.org/D12098 To: chinmoyr, #okular, aacid, ngraham Cc: sander, ngraham, okular-devel, aacid