[Webkit-unassigned] [Bug 43168] New: [Qt] QtTestBrowser not setting preferredContentsSize for resizesToContents
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 28 21:19:23 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43168
Summary: [Qt] QtTestBrowser not setting preferredContentsSize
for resizesToContents
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: NEW
Keywords: Qt, QtTriaged
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tonikitoo at webkit.org
Using resizesToContents is working bad in our reference/demo browser, QtTestBrowser:
- we are not using this property together with setPreferredContentsSize (from QWebPage), which is explicitly adviced in our docs: http://doc.trolltech.com/4.7-snapshot/qgraphicswebview.html#resizesToContents-prop
- also the default value hardcoded when no preferred contents size is set is not good.
void QGraphicsWebViewPrivate::updateResizesToContentsForPage()
{
..
if (resizesToContents) {
// resizes to contents mode requires preferred contents size to be set
if (!page->preferredContentsSize().isValid())
page->setPreferredContentsSize(QSize(960, 800));
** Also, scrolling gets broken on simple websites when we toggle it on, but it can be for another bug.
--
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