Closed Bug 1780212 Opened 2 years ago Closed 2 years ago

Marionette window restoration is broken on Linux automation

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

(Whiteboard: [webdriver:relnote])

Attachments

(4 files)

Which is why I needed to annotate tests in bug 1779559. Pre-existing failures are in: https://searchfox.org/mozilla-central/rev/fa71140041c5401b80a11f099cc0cd0653295e2c/testing/web-platform/meta/page-visibility/minimize.html.ini

This seems to be because gtk_window_deiconify doesn't actually deiconify the window, so the sizemodechange never arrives.

These don't change behavior but I did them while debugging this.

Like we do to maximize/fullscreen. This makes the code less confusing
and more reliable over-all.

Depends on D152176

Attachment #9286047 - Attachment description: Bug 1780212 - Consistently use sizemodechange events to minimize/restore windows. r=whimboo → Bug 1780212 - Consistently use sizemodechange events to minimize/restore windows. r=#webdriver-reviewers
Attachment #9286047 - Attachment description: Bug 1780212 - Consistently use sizemodechange events to minimize/restore windows. r=#webdriver-reviewers → Bug 1780212 - Consistently use sizemodechange events to minimize/restore windows. r=whimboo
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/409297c79d2d
Miscellaneous clean-ups to related code. r=Gijs
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/598d4ad77f18
Consistently use sizemodechange events to minimize/restore windows. r=webdriver-reviewers,jdescottes
https://hg.mozilla.org/integration/autoland/rev/0fcbd8d0d597
Use gtk_window_present too, to deiconify windows. r=stransky
https://hg.mozilla.org/integration/autoland/rev/692f47ec667f
Update test expectations. r=jdescottes

Emilio, thanks a lot for these changes! They are pretty helpful and make both minimizing and restoring windows way faster. I no longer see the TimedPromise error with a 5s timeout. Now the commands return immediately - which is a drastic improvement!

Whiteboard: [webdriver:relnote]
No longer regressions: 1789823
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: