tst_WebView_contextMenu.qml and tst_WebView_popupMenu_single.qml fail

Bug #1632490 reported by Chris Coulson on 2016-10-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
High
Chris Coulson

Bug Description

This regressed with the Chromium update, and only occurs if QT_DEVICE_PIXEL_RATIO is set to something other than 1 (I set it to 2 on my system)

********* Start testing of qml-api-test *********
Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160413)
PASS : qml-api-test::WebView_contextMenu::initTestCase()
127.0.0.1 - - [11/Oct/2016 22:55:06] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
127.0.0.1 - - [11/Oct/2016 22:55:06] "GET /cof.svg HTTP/1.1" 200 -
127.0.0.1 - - [11/Oct/2016 22:55:06] "GET /empty.html HTTP/1.1" 200 -
127.0.0.1 - - [11/Oct/2016 22:55:06] "GET /buddha.mp4 HTTP/1.1" 200 -
127.0.0.1 - - [11/Oct/2016 22:55:06] "GET /fire.oga HTTP/1.1" 200 -
FAIL! : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_copyImage() 'verify()' returned FALSE. ()
   Loc: [/home/chr1s/src/oxide/master/src/oxide/qt/tests/qmltests/api/tst_WebView_contextMenu.qml(102)]
127.0.0.1 - - [11/Oct/2016 22:55:11] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_editable()
127.0.0.1 - - [11/Oct/2016 22:55:12] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_mediaFlags(row 0)
127.0.0.1 - - [11/Oct/2016 22:55:12] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_mediaFlags(row 1)
127.0.0.1 - - [11/Oct/2016 22:55:13] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 0)
127.0.0.1 - - [11/Oct/2016 22:55:13] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 1)
127.0.0.1 - - [11/Oct/2016 22:55:13] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 2)
127.0.0.1 - - [11/Oct/2016 22:55:13] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 3)
127.0.0.1 - - [11/Oct/2016 22:55:13] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 4)
127.0.0.1 - - [11/Oct/2016 22:55:14] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 5)
127.0.0.1 - - [11/Oct/2016 22:55:14] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 6)
127.0.0.1 - - [11/Oct/2016 22:55:14] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 7)
127.0.0.1 - - [11/Oct/2016 22:55:14] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_properties(row 8)
127.0.0.1 - - [11/Oct/2016 22:55:15] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_saveLink()
127.0.0.1 - - [11/Oct/2016 22:55:15] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_saveLink_saveMedia()
127.0.0.1 - - [11/Oct/2016 22:55:15] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_saveMedia(row 0)
127.0.0.1 - - [11/Oct/2016 22:55:15] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
FAIL! : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_saveMedia(row 1) 'wait for signal downloadRequested' returned FALSE. ()
   Loc: [/home/chr1s/src/oxide/master/src/oxide/qt/tests/qmltests/api/tst_WebView_contextMenu.qml(128)]
127.0.0.1 - - [11/Oct/2016 22:55:21] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_saveMedia(row 2)
127.0.0.1 - - [11/Oct/2016 22:55:21] "GET /tst_WebView_contextMenu.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_contextMenu::test_WebView_contextMenu_saveMedia(row 3)
PASS : qml-api-test::WebView_contextMenu::cleanupTestCase()
QWARN : qml-api-test::UnknownTestFunc() OxideQQuickWebView: context can only be set during construction
PASS : qml-api-test::WebView_popupMenu_single::initTestCase()
[1011/225521:ERROR:layer_tree_host_impl.cc(2181)] Forcing zero-copy tile initialization as worker context is missing
127.0.0.1 - - [11/Oct/2016 22:55:22] "GET /tst_WebView_popupMenu_single.html HTTP/1.1" 200 -
FAIL! : qml-api-test::WebView_popupMenu_single::test_WebView_popupMenu_single1_model() model.elementRect.x is wrong
   Actual (): 16
   Expected (): 8
   Loc: [/home/chr1s/src/oxide/master/src/oxide/qt/tests/qmltests/api/tst_WebView_popupMenu_single.qml(76)]
127.0.0.1 - - [11/Oct/2016 22:55:22] "GET /tst_WebView_popupMenu_single.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_popupMenu_single::test_WebView_popupMenu_single2_cancel()
127.0.0.1 - - [11/Oct/2016 22:55:22] "GET /tst_WebView_popupMenu_single.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_popupMenu_single::test_WebView_popupMenu_single3_accept()
127.0.0.1 - - [11/Oct/2016 22:55:22] "GET /tst_WebView_popupMenu_single.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_popupMenu_single::test_WebView_popupMenu_single4_invalidSelect()
127.0.0.1 - - [11/Oct/2016 22:55:22] "GET /tst_WebView_popupMenu_single.html HTTP/1.1" 200 -
PASS : qml-api-test::WebView_popupMenu_single::test_WebView_popupMenu_single5_userInteraction()
PASS : qml-api-test::WebView_popupMenu_single::cleanupTestCase()
Totals: 25 passed, 3 failed, 0 skipped, 0 blacklisted
********* Finished testing of qml-api-test *********

Changed in oxide:
importance: Undecided → High
status: New → Triaged
assignee: nobody → Chris Coulson (chrisccoulson)
milestone: none → branch-1.19
Chris Coulson (chrisccoulson) wrote :

"Copy image" also doesn't work in Chrome's context menu. Bisecting leads to https://chromium.googlesource.com/chromium/src.git/+/cfa4d68b021ddec1b1535d37179b16af29101331 as being the culprit.

Changed in oxide:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers