RESOLVED FIXED Bug 88327
[Qt][WK2] Add preferredMinimumContentsWidth to the viewport info in MiniBrowser.
https://bugs.webkit.org/show_bug.cgi?id=88327
Summary [Qt][WK2] Add preferredMinimumContentsWidth to the viewport info in MiniBrowser.
Michael Brüning
Reported 2012-06-05 05:53:46 PDT
[Qt][WK2] Add preferredMinimumContentsWidth to the viewport info in MiniBrowser.
Attachments
Patch (5.08 KB, patch)
2012-06-05 05:54 PDT, Michael Brüning
no flags
Patch (5.26 KB, patch)
2012-06-05 06:02 PDT, Michael Brüning
no flags
Patch (5.26 KB, patch)
2012-06-05 06:12 PDT, Michael Brüning
no flags
Patch (8.13 KB, patch)
2012-06-05 09:38 PDT, Michael Brüning
no flags
Patch (8.01 KB, patch)
2012-06-06 02:39 PDT, Michael Brüning
no flags
Michael Brüning
Comment 1 2012-06-05 05:54:39 PDT
WebKit Review Bot
Comment 2 2012-06-05 05:58:12 PDT
Attachment 145773 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Tools/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 2 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Michael Brüning
Comment 3 2012-06-05 06:01:36 PDT
Hm, seems I overestimated webkit-patch upload's abilities to deal with ChangeLog update on its own a bit... Or is there a special option for this?
Michael Brüning
Comment 4 2012-06-05 06:02:28 PDT
Michael Brüning
Comment 5 2012-06-05 06:09:19 PDT
Comment on attachment 145774 [details] Patch Oops, sorry, small error when recreating the patch after. Fix coming in soon...
Michael Brüning
Comment 6 2012-06-05 06:12:30 PDT
Kenneth Rohde Christiansen
Comment 7 2012-06-05 07:03:46 PDT
Comment on attachment 145774 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=145774&action=review > Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:965 > Q_D(QQuickWebView); > + if (width == d->webPageProxy->pageGroup()->preferences()->layoutFallbackWidth(width)) > + return; > + > d->webPageProxy->pageGroup()->preferences()->setLayoutFallbackWidth(width); local prefs var? > Tools/MiniBrowser/qt/qml/ViewportInfoItem.qml:79 > Text { > - id: scalableLabel > + id: preferredMinimumContentsWidthLabel > anchors.top: layoutSizeLabel.bottom > + text: "Preferred minimum contents width: " + preferredMinimumContentsWidth can we also set it? Like toggle between 980 and 0 :-)
Michael Brüning
Comment 8 2012-06-05 07:09:05 PDT
(In reply to comment #7) > (From update of attachment 145774 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=145774&action=review > > > Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:965 > > Q_D(QQuickWebView); > > + if (width == d->webPageProxy->pageGroup()->preferences()->layoutFallbackWidth(width)) > > + return; > > + > > d->webPageProxy->pageGroup()->preferences()->setLayoutFallbackWidth(width); > > local prefs var? Sure, I'll add it... > > > Tools/MiniBrowser/qt/qml/ViewportInfoItem.qml:79 > > Text { > > - id: scalableLabel > > + id: preferredMinimumContentsWidthLabel > > anchors.top: layoutSizeLabel.bottom > > + text: "Preferred minimum contents width: " + preferredMinimumContentsWidth > > can we also set it? Like toggle between 980 and 0 :-) Sure, but I wanted to do that in separate patch.
Kenneth Rohde Christiansen
Comment 9 2012-06-05 07:10:46 PDT
Comment on attachment 145777 [details] Patch r=me but please do my changes
Michael Brüning
Comment 10 2012-06-05 09:38:39 PDT
Build Bot
Comment 11 2012-06-05 10:24:42 PDT
Michael Brüning
Comment 12 2012-06-05 15:16:30 PDT
Comment on attachment 145822 [details] Patch Hm, this does not have touch any code other than the qt wk2 api and the qt MiniBrowser. Resetting flags to see if it was a temporary glitch.
Michael Brüning
Comment 13 2012-06-06 02:39:03 PDT
WebKit Review Bot
Comment 14 2012-06-06 03:12:55 PDT
Comment on attachment 145968 [details] Patch Clearing flags on attachment: 145968 Committed r119578: <http://trac.webkit.org/changeset/119578>
WebKit Review Bot
Comment 15 2012-06-06 03:13:11 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.