Creating menu entries is now broken

Bug #1278917 reported by Christopher Townsend
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
window-mocker
New
Critical
Corey Goldberg
window-mocker (Ubuntu)
Fix Released
Undecided
Unassigned

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/test_search.py

Related branches

description: updated
Revision history for this message
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
Changed in window-mocker:
assignee: nobody → Corey Goldberg (coreygoldberg)
Revision history for this message
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 MANIFEST.in 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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