[akregator] [Bug 382587] Article viewer jumps to scroll position of previously viewed article

Patrick bugzilla_noreply at kde.org
Sat Sep 16 09:57:05 BST 2017


https://bugs.kde.org/show_bug.cgi?id=382587

--- Comment #2 from Patrick <patrick at noxs.nl> ---
I did some debugging and found that the scroll position is remembered by the
chromium backend used by Qt. The scroll position restore used by
akregator/messagelib isn't working because javascript is disabled. As enabling
javascript might have side effects, a possible solution is loading a blank page
before a new article is loaded in the viewer. You could do this in
ArticleHtmlWebEngineWriter::begin() by replacing:
  mWebView->load(QUrl());
with
  mWebView->load(QUrl(QStringLiteral("about:blank")));

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list