Skip to content

Fix: Request Pixmaps in slotRelayoutPages

Gerd Wachsmuth requested to merge gerw/okular:fix_request_pixmaps into release/21.04

In one particular situation, the pixmaps are not requested although it would be necessary:

  • Non-continuous view mode, fit page mode
  • Aspect ratio of the window such that: ** In facing pages, the pages fit horizontally ** In single page mode, the page fits vertically
  • No menu bar

If we now go from facing pages to single page, slotRequestVisiblePixmaps is not called, because the condition in line 4400 is not satisfied.

(However, I am not sure whether the call to slotRequestVisiblePixmaps should be omitted if viewport()->updatesEnabled() is false.)

Merge request reports