D12454: Article viewer: Zoom has to be applied after page starts to load

Daniel Vrátil noreply at phabricator.kde.org
Mon Apr 23 09:07:58 BST 2018


dvratil added a comment.


  You could wrap it in a check if the current zoom actually differs from `Settings::zoom`, this way the zoom should only get set once and QtWebEngine will hopefully honor it for the rest of the loading/rendering. Briefly checking the QtWebEngine code reveals that any call to `setZoomFactor()` triggers something inside the engine, so the fewer times we do it the better :)

REPOSITORY
  R201 Akregator

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

To: thomasbrixlarsen
Cc: dvratil, #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180423/7d969cb9/attachment.html>


More information about the kde-pim mailing list