[Webkit-unassigned] [Bug 35659] New: [Qt] QGraphicsWebView size is incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 03:42:22 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35659

           Summary: [Qt] QGraphicsWebView size is incorrect
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from issue QTBUG-5306
http://bugreports.qt.nokia.com/browse/QTBUG-5306

--- Description ---

Device: XM 5800

<p>1. Automatic resize of QGraphicsWebView fails completely.<br/>
Code to create the first image:</p>
<div class="preformatted panel" style="border-width: 1px;"><div
class="preformattedContent panelContent">
<pre>QApplication app(argc, argv);
QGraphicsScene scene;
QGraphicsView view(&scene);
QGraphicsWebView webView;
scene.addItem(&webView);
webView.load(QUrl("http://www.google.com"));
view.showFullScreen();
app.exec();
</pre>
</div></div>
<p>2. If size is set to fullscreen there is small border on RHS that cannot be
scrolled to.<br/>
added to first code:</p>
<div class="preformatted panel" style="border-width: 1px;"><div
class="preformattedContent panelContent">
<pre>view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
webView.resize(app.desktop()->screenGeometry().size());    
</pre>
</div></div>

<p>3. Addition if scrollbars are not hidden from QGraphicsView we get double
scrollbars but are able to access the RHS.</p>
<div class="preformatted panel" style="border-width: 1px;"><div
class="preformattedContent panelContent">
<pre>//view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
//view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
</pre>
</div></div>

--- Comments ---

-- 
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