Creating menu entries is now broken

Bug #1278917 reported by Christopher Townsend on 2014-02-11
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Corey Goldberg
window-mocker (Ubuntu)

Bug Description

Using trunk window-mocker (and window-mocker from the Unity daily-build PPA), tests that create window-mocker menu entries are failing due to window-mocker not creating the menu entries. Note that this issue does not occur using python-windowmocker from the archive.

The error look like:
/var/local/autopilot/autopilot.log:ERROR:windowmocker.plugins.qt4:Invalid menu item - is not a dict or string: u'Search entry'
/var/local/autopilot/autopilot.log:ERROR:windowmocker.plugins.qt4:Invalid menu item - is not a dict or string: u'Quit'

The code that generates this uses the following window_spec:
window_spec = {
            "Title": "Test menu application",
            "Menu": ["Search entry", "Quit"],

This can be found in unity trunk under tests/autopilot/unity/tests/

Related branches

description: updated
Stephen M. Webb (bregma) wrote :

This started failing tests after 05 Feb, confirmed locally. It is blocking landing of Unity7 at a critical release time.

Changed in window-mocker:
importance: Undecided → Critical
Thomi Richards (thomir) on 2014-02-11
Changed in window-mocker:
assignee: nobody → Corey Goldberg (coreygoldberg)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package window-mocker - 1.4+14.04.20140220.1-0ubuntu1

window-mocker (1.4+14.04.20140220.1-0ubuntu1) trusty; urgency=medium

  [ Barry Warsaw ]
  * Bump revision to 1.4.
  * Add to prune build artifacts from tarball.
  * Clean ups:
    + White space.
    + Use of insecure tempfile.mktemp()
    + Use of non-temporary file names.
    + Use of mutable default arguments.
    + Improve Python 2/3 compatibility.
  * d/control:
    + Add dependency on python{,3}-six for Python 3 compatibility fix.
    + Remove dependency on python3-mock (use unittest.mock instead in Py3).
    + Bump Standards-Version to 3.9.5 with no other changes necessary.
  * python3 compatibility, Qt5 plugin.

  [ Corey Goldberg ]
  * python3 compatibility, Qt5 plugin.
  * fixed qt4 plugin, previous regression (LP: #1278917)
 -- Ubuntu daily release <email address hidden> Thu, 20 Feb 2014 22:14:29 +0000

Changed in window-mocker (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers