D8838: Don't request pixmaps twice when opening okular

Albert Astals Cid noreply at phabricator.kde.org
Thu Nov 16 13:38:55 UTC 2017


aacid added a comment.


  After having a second look it does indeed have a noticeable delay for pdf that render *very* fast, with this patch you can see the empty page while without it you always see the rendered page (it also renders twice but since it's so fast you don't really see it).
  
  Ideally here the solution is page rendering cancellation when you see that the viewport area has changed, but that's not easily acomplishable either.
  
  Or knowing when the "window is opening/maximizing" resizes have ended, but as far as i know that's not possible.
  
  So as far as i see it,  we have to decide whether we want to live with double repaints on opening a file at the same time than opening okular (files after okular is open don't suffer this) or with adding extra delay for all files. Double repaint only really looks bad with tiled rendering, otherwise it's "acceptable" (even if a waste or resources)

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D8838

To: aacid
Cc: rkflx, #okular, ngraham, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20171116/951a0c38/attachment.html>


More information about the Okular-devel mailing list