simgunz added a comment.
Changing line 406 `QRect highlightRect = r.geometry( scaledWidth, scaledHeight ).translated( -scaledCrop.topLeft() ).intersected( limits );` to `QRect highlightRect = r.geometry( scaledWidth, scaledHeight ).translated( -scaledCrop.topLeft() );` produces the correct behavior (also when zooming). It is just an empirical trial, so I am not sure if this breaks something else. REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D7662 To: sander, #okular Cc: simgunz, cfeck, aacid, ngraham, michaelweghorn