Bug 65104 - [Qt] QGraphicsWebView shouldn't allow scrolling when the QGraphicsWebView size is as large as the viewport
Summary: [Qt] QGraphicsWebView shouldn't allow scrolling when the QGraphicsWebView siz...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 420+
Hardware: S60 Hardware Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 06:03 PDT by mailforaleksi521
Modified: 2014-02-03 03:18 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mailforaleksi521 2011-07-25 06:03:35 PDT
[Qt] QGraphicsWebView shouldn't allow scrolling when resizesToContents is true or otherwise the QGraphicsWebView size is as large as the viewport

When the resizesToContents is set true, we don't have any way to scroll the contents back, if the main frame's is scrolled by the javascript. This happens, for example, in a web page http://conversations.nokia.com/2011/07/25/nothings-quite-as-it-themes-on-the-nokia-n8/?comments=true&mobile, when used in a C7.

Steps:

1) Show a QGraphicsWebView in a QGraphicsView.
2) Set url to be http://conversations.nokia.com/2011/07/25/nothings-quite-as-it-themes-on-the-nokia-n8/?comments=true&mobile
3) Click "Reply"
4) Enter some text, like "qwerty" and press the "post as" button.
-> now the main frame's scrollPosition() is NOT (0,0) ! [Not OK]

I guess that this scrolling is done with some JavaScript.

Environment:

C7-00 (Symbian^3)
Don't know the exact webkit version, but Qt version is 4.7.3, 
and the included VERSION file contains text:

a snapshot of the Qt port of WebKit from

        git://gitorious.org/qtwebkit/qtwebkit.git

and has the sha1 checksum

        6e15c3404d15a8ab72242152ec966e5e388161a2
Comment 1 Jocelyn Turcotte 2014-02-03 03:18:21 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.