[Webkit-unassigned] [Bug 28706] New: crash with ::-webkit-scrollbar css use on body
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 25 02:16:23 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28706
Summary: crash with ::-webkit-scrollbar css use on body
Product: WebKit
Version: 420+
Platform: PC
URL: http://qt.developpez.com/
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Critical
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mongaulois at gmail.com
Hi,
when ::-webkit-scrollbar css are apply on body and scrollbar are visible, when
you change html, webcore crash on ScrollBar destruction.
I find a temporary solution :
1- hide webkit scrollbar
2- reinit html to empty
3- reactive webkit scrollbar
4- load new html
5- call repaint().
m_MailBody->page()->mainFrame()->setScrollBarPolicy (
Qt::Horizontal,Qt::ScrollBarAlwaysOff);
m_MailBody->page()->mainFrame()->setScrollBarPolicy (
Qt::Vertical,Qt::ScrollBarAlwaysOff);
m_MailBody->setHtml("");
m_MailBody->page()->mainFrame()->setScrollBarPolicy (
Qt::Horizontal,Qt::ScrollBarAsNeeded);
m_MailBody->page()->mainFrame()->setScrollBarPolicy (
Qt::Vertical,Qt::ScrollBarAsNeeded);
m_MailBody->setHtml(html);
m_MailBody->repaint();
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list