[regression] qml-api-test::WebView_flickableLikeAPI::test_WebView_flickableLikeAPI() fails in trunk

Bug #1408686 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Triaged
Medium
Chris Coulson
1.5
Fix Released
High
Chris Coulson
1.7
Won't Fix
Medium
Chris Coulson

Bug Description

As of revision 903 of lp:oxide (perhaps earlier), qml-api-test::WebView_flickableLikeAPI::test_WebView_flickableLikeAPI() is consistently failing when run on desktop:

    1: FAIL! : qml-api-test::WebView_flickableLikeAPI::test_WebView_flickableLikeAPI() Compared values are not the same
    1: Actual (): 185
    1: Expected (): 200
    1: Loc: [/home/osomon/dev/phablet/oxide/trunk/qt/tests/qmltests/api/tst_WebView_flickableLikeAPI.qml(39)]

Most likely related, the thumb of the horizontal scrollbar at the bottom of the view appears in the wrong place (shifted downwards).

This might be because of https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/-t1PfZBC4iY.

Indeed, appending cc::switches::kDisablePinchVirtualViewport to the command line switches in InitializeCommandLine(…) appears to fix both regressions.

Related branches

Changed in oxide:
milestone: none → branch-1.5
importance: Undecided → High
status: New → Triaged
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

I'm going to fix this in 1.5 by turning off the pinch viewport after branching (I'll still need to try to figure out a proper fix in trunk)

Changed in oxide:
milestone: branch-1.5 → branch-1.6
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in oxide:
milestone: branch-1.6 → branch-1.7
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Dropping the importance and un-milestoning this, as pinch-viewport is currently disabled on desktop for other reasons

Changed in oxide:
importance: High → Medium
milestone: branch-1.7 → none
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

So, the failure here is that WebView.viewportWidth isn't reduced by the amount of space that the scrollbars take up

Changed in oxide:
milestone: none → branch-1.7
Changed in oxide:
milestone: branch-1.7 → branch-1.8
Changed in oxide:
milestone: branch-1.8 → branch-1.9
Changed in oxide:
milestone: branch-1.9 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.