mirror of
https://github.com/brl/mutter.git
synced 2025-01-06 09:42:14 +00:00
c94d929332
This adds a test case for https://gitlab.gnome.org/GNOME/mutter/-/issues/862 that checks that hiding a dialog where its parent is not yet shown doesn't trigger any asserts or crashes. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1643>
33 lines
472 B
Plaintext
33 lines
472 B
Plaintext
new_client w wayland
|
|
|
|
# Create two Wayland windows, and make the second a transient of the
|
|
# first. Then make the parent not actually ever show, but show the
|
|
# transient.
|
|
|
|
# Then make sure that hiding the transient can hide without causing
|
|
# issues.
|
|
|
|
# https://gitlab.gnome.org/GNOME/mutter/-/issues/862
|
|
|
|
create w/1 csd
|
|
create w/2 csd
|
|
|
|
set_parent w/2 1
|
|
|
|
freeze w/1
|
|
|
|
show w/1 async
|
|
show w/2
|
|
|
|
wait
|
|
|
|
assert_stacking w/1 w/2
|
|
|
|
hide w/2
|
|
wait
|
|
|
|
assert_stacking w/1
|
|
|
|
hide w/2
|
|
wait
|