It looks like this could be a regression in the UITK. The following
standalone example doesn’t work as expected (the popover is only a few
pixels tall, no action is visible):

import QtQuick 2.4
import Ubuntu.Components 1.3
import Ubuntu.Components.Popups 1.3
MouseArea {
  id: root
  width: units.gu(50)
  height: units.gu(50)
  Component {
    id: menuFactory
    ActionSelectionPopover {
      actions: ActionList {
        Action {
          text: "foo"
        }
        Action {
          text: "bar"
        }
      }
    }
  }
  onClicked: PopupUtils.open(menuFactory, root)
}

** Also affects: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- 9 unit test failures in tst_QmlTests
+ 9 unit test failures in tst_QmlTests / context menus no longer displayed

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1623841

Title:
  9 unit test failures in tst_QmlTests / context menus no longer
  displayed

Status in ubuntu-ui-toolkit package in Ubuntu:
  New
Status in webbrowser-app package in Ubuntu:
  In Progress

Bug description:
  I upgraded packages on my laptop today (xenial + stable overlay PPA)
  and builds of lp:webbrowser-app started failing in tst_QmlTests.

  Those are the failures I’m seeing:

  FAIL!  : QmlTests::NewTabView::test_delete_top_site() Uncaught exception: 
Cannot read property 'x' of undefined
     Loc: 
[/build/webbrowser-app/trunk/tests/unittests/qml/WebbrowserTestCase.qml(26)]
  FAIL!  : QmlTests::NewTabView::test_expand_bookmarks() 'verify()' returned 
FALSE. ()
     Loc: 
[/build/webbrowser-app/trunk/tests/unittests/qml/tst_NewTabView.qml(82)]
  FAIL!  : QmlTests::NewTabView::test_keyboard_navigation() 'verify()' returned 
FALSE. ()
     Loc: 
[/build/webbrowser-app/trunk/tests/unittests/qml/tst_NewTabView.qml(82)]
  FAIL!  : QmlTests::NewTabView::test_keyboard_navigation() 'verify()' returned 
FALSE. ()
     Loc: 
[/build/webbrowser-app/trunk/tests/unittests/qml/tst_NewTabView.qml(189)]
  FAIL!  : QmlTests::TabsBar::test_context_menu_close() Uncaught exception: 
Cannot read property 'x' of undefined
     Loc: 
[/build/webbrowser-app/trunk/tests/unittests/qml/WebbrowserTestCase.qml(26)]
  FAIL!  : QmlTests::TabsBar::test_context_menu_new_tab() Uncaught exception: 
Cannot read property 'x' of undefined
     Loc: 
[/build/webbrowser-app/trunk/tests/unittests/qml/WebbrowserTestCase.qml(26)]
  FAIL!  : QmlTests::TabsBar::test_context_menu_reload() Uncaught exception: 
Cannot read property 'x' of undefined
     Loc: 
[/build/webbrowser-app/trunk/tests/unittests/qml/WebbrowserTestCase.qml(26)]
  FAIL!  : QmlTests::TabsBar::test_menu_states_on_new_tab() Uncaught exception: 
Cannot read property 'enabled' of null
     Loc: [/build/webbrowser-app/trunk/tests/unittests/qml/tst_TabsBar.qml(245)]
  FAIL!  : QmlTests::TabsBar::test_menu_states_on_page() Uncaught exception: 
Cannot read property 'enabled' of null
     Loc: [/build/webbrowser-app/trunk/tests/unittests/qml/tst_TabsBar.qml(256)]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1623841/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-apps-bugs
Post to     : ubuntu-apps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-apps-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to