The geometry property in process/_bamf.py does not return correct values

Bug #1273698 reported by Christopher Townsend
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
Fix Released
Critical
Unassigned
autopilot (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

In debugging various Unity Autopilot failures, I have discovered that the geometry property in process/_bamf.py does not get the correct origin for the window. I initially thought this was a pygtk issue and filed bug #1273380 for that. However, Martin set me straight and now the issue is in Autopilot.

The offending code is this:

return (origin[0], origin[1], geometry.width, geometry.height)

In the Unity AP test case, it should be returning origin[1] and origin[2]. I have tested this locally on my test machine and does indeed fix it. I'm not sure if we ever need to consider the case where it may still return the origin in the first two elements of the origin array.

*Note: This is blocking a number of Unity Autopilot tests from passing*

Thanks!

Related branches

description: updated
Changed in autopilot:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Christopher Townsend (townsend)
Changed in autopilot (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Christopher Townsend (townsend)
Changed in autopilot (Ubuntu):
status: In Progress → Fix Released
Changed in autopilot:
status: In Progress → Fix Released
assignee: Christopher Townsend (townsend) → Thomi Richards (thomir)
Changed in autopilot (Ubuntu):
assignee: Christopher Townsend (townsend) → Thomi Richards (thomir)
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.