[Bug 232831] Saving scroll position is broken

Laurent Montel montel at kde.org
Thu Sep 1 20:44:10 BST 2011


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





--- Comment #4 from Laurent Montel <montel kde org>  2011-09-01 19:44:10 ---
void MailWebView::scrollToRelativePosition( double pos )
{
  // FIXME: This doesn't work, Qt resets the scrollbar value somewhere in the
event handler.
  //        Using a singleshot timer wouldn't work either, since that
introduces visible scrolling.
  const int max = page()->mainFrame()->scrollBarMaximum( Qt::Vertical );
  page()->currentFrame()->setScrollBarValue( Qt::Vertical, max * pos );
}
ok it's a known bug

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list