Bug 64589

Summary: Upstream QtWebKit/N9 changes related to visibleContentRect
Product: WebKit Reporter: Kenneth Rohde Christiansen <kenneth>
Component: Layout and RenderingAssignee: Kenneth Rohde Christiansen <kenneth>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot, zherczeg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
hausmann: review+, hausmann: commit-queue-
Patch for landing
kenneth: commit-queue-
Patch for landing
none
Regression fix none

Description Kenneth Rohde Christiansen 2011-07-15 02:00:04 PDT
SSIA
Comment 1 Kenneth Rohde Christiansen 2011-07-15 02:05:57 PDT
Created attachment 100949 [details]
Patch
Comment 2 WebKit Review Bot 2011-07-15 02:08:46 PDT
Attachment 100949 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1

Source/WebKit2/UIProcess/WebPageProxy.h:340:  The parameter name "rect" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 1 in 15 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Simon Hausmann 2011-07-15 02:54:55 PDT
Comment on attachment 100949 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=100949&action=review

r=me but fix the style issue before landing I'd say.

> Source/WebCore/platform/ScrollView.cpp:240
> -                   IntSize(max(0, m_boundsSize.width() - verticalScrollbarWidth), 
> +                   IntSize(max(0, m_boundsSize.width() - verticalScrollbarWidth),

You could skip this part when landing :)
Comment 4 Kenneth Rohde Christiansen 2011-07-15 04:04:47 PDT
Created attachment 100954 [details]
Patch for landing
Comment 5 Kenneth Rohde Christiansen 2011-07-15 04:06:32 PDT
Created attachment 100955 [details]
Patch for landing
Comment 6 WebKit Review Bot 2011-07-15 05:03:58 PDT
Comment on attachment 100955 [details]
Patch for landing

Clearing flags on attachment: 100955

Committed r91064: <http://trac.webkit.org/changeset/91064>
Comment 7 WebKit Review Bot 2011-07-15 05:04:02 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Zoltan Herczeg 2011-07-15 08:23:34 PDT
This patch killed the Qt buildbot (early exit after 500 fail): http://build.webkit.org/builders/Qt%20Linux%20Release/builds/35397/steps/layout-test/logs/stdio

any idea?
Comment 9 Kenneth Rohde Christiansen 2011-07-15 09:20:17 PDT
(In reply to comment #8)
> This patch killed the Qt buildbot (early exit after 500 fail): http://build.webkit.org/builders/Qt%20Linux%20Release/builds/35397/steps/layout-test/logs/stdio
> 
> any idea?

Strange. We are not running the bots using tiling and fixed layout, so this shouldnt be affected.
Comment 10 Kenneth Rohde Christiansen 2011-07-15 09:34:37 PDT
I think I found the issue.

void FrameLoaderClientQt::transitionToCommittedForNewPage() doesn't check if it is in resize to contents mode.

Patch in the making
Comment 11 Kenneth Rohde Christiansen 2011-07-15 09:42:42 PDT
Created attachment 100995 [details]
Regression fix
Comment 12 WebKit Review Bot 2011-07-15 09:44:49 PDT
Attachment 100995 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/qt/ChangeLog', u'Source/WebK..." exit_code: 1

Source/WebKit/qt/ChangeLog:3:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 13 WebKit Review Bot 2011-07-15 11:25:46 PDT
Comment on attachment 100995 [details]
Regression fix

Clearing flags on attachment: 100995

Committed r91079: <http://trac.webkit.org/changeset/91079>
Comment 14 WebKit Review Bot 2011-07-15 11:25:52 PDT
All reviewed patches have been landed.  Closing bug.