Merge lp://staging/~3v1n0/autopilot/badwindow-errors-protect into lp://staging/autopilot

Proposed by Marco Trevisan (Treviño)
Status: Needs review
Proposed branch: lp://staging/~3v1n0/autopilot/badwindow-errors-protect
Merge into: lp://staging/autopilot
Diff against target: 24 lines (+5/-2)
1 file modified
autopilot/process/_bamf.py (+5/-2)
To merge this branch: bzr merge lp://staging/~3v1n0/autopilot/badwindow-errors-protect
Reviewer Review Type Date Requested Status
platform-qa-bot continuous-integration Needs Fixing
PS Jenkins bot continuous-integration Approve
Andrea Azzarone (community) Approve
prod-platform-qa continuous-integration Pending
Review via email: mp+268467@code.staging.launchpad.net

Commit message

Bamf: protect from BadWindow errors when getting the title

A bamf window might be still on bus, but actually closed at X level,
so we must protect from errors when trying to fetch properties.

To post a comment you must log in.
Revision history for this message
Andrea Azzarone (azzar1) wrote :

LGTM

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Christopher Lee (veebers) wrote :

This looks good to me, but I believe this is for the Unity test cases? If so this should be against https://code.launchpad.net/~autopilot/autopilot/legacy (autopilot-legacy, autopilot-desktop-legacy) which is under the stewardship of the Unity7 team.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Ok thanks for pointing out.

It's still to keep track of this on trunk until there will X11 support btw.

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

569. By Marco Trevisan (Treviño)

Bamf: protect from BadWindow errors when getting the title

A bamf window might be still on bus, but actually closed at X level,
so we must protect from errors when trying to fetch properties.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches