2019-08-04 14:57:30 -04:00
|
|
|
#!/bin/sh
|
2019-09-23 16:14:02 -04:00
|
|
|
set -e
|
2019-10-23 14:27:30 -04:00
|
|
|
exe=$(realpath $1)
|
2019-08-04 14:57:30 -04:00
|
|
|
cd $(dirname $0)
|
|
|
|
|
2020-04-10 20:41:24 -04:00
|
|
|
eval `dbus-launch --sh-syntax`
|
|
|
|
|
2019-10-23 14:27:30 -04:00
|
|
|
./run_one_test.sh $exe configs/empty.conf testcases/basic.py
|
core: delayed handling of root ConfigureNotify
Previously, root ConfigureNotify is handled immediately, by resetting
the backend, which in turn releases all the window images. This puts all
the windows into a state where they don't have images attached, which
they really should be in when the screen is redirected.
(To expand a little, a window without images should only exist if:
* It's an unmanaged window.
* Screen is unredirected.)
Normally, this kind of window could be fine, as the next render phase
will re-acquire images for them. However, if a window in this state is
destroyed with fading enabled, then the render phase won't try to
acquire images for it, causing it to go into the main rendering function
without images attached, and trigger an assertion.
This commit delays the handling of root ConfigureNotify until the render
phase. This way, the images will be immediately re-acquired after they
are released, thus prevent this problem from happening.
Also adds a testcase for this.
Fixes #357
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-03-31 00:01:14 -04:00
|
|
|
./run_one_test.sh $exe configs/issue357.conf testcases/issue357.py
|
2019-10-23 14:27:30 -04:00
|
|
|
./run_one_test.sh $exe configs/issue239.conf testcases/issue239.py
|
|
|
|
./run_one_test.sh $exe configs/issue239_2.conf testcases/issue239_2.py
|
2019-11-18 15:53:49 -05:00
|
|
|
./run_one_test.sh $exe configs/issue239_3.conf testcases/issue239_3.py
|
2019-11-18 17:34:05 -05:00
|
|
|
./run_one_test.sh $exe configs/issue239_3.conf testcases/issue239_3_norefresh.py
|
2020-04-04 21:52:12 -04:00
|
|
|
./run_one_test.sh $exe configs/issue314.conf testcases/issue314.py
|
2020-04-07 07:35:06 -04:00
|
|
|
./run_one_test.sh $exe configs/issue314.conf testcases/issue314_2.py
|
|
|
|
./run_one_test.sh $exe configs/issue314.conf testcases/issue314_3.py
|
2020-04-10 20:41:24 -04:00
|
|
|
./run_one_test.sh $exe /dev/null testcases/issue299.py
|
2020-08-27 13:40:49 -04:00
|
|
|
./run_one_test.sh $exe configs/issue465.conf testcases/issue465.py
|
2020-10-23 11:54:46 -04:00
|
|
|
./run_one_test.sh $exe configs/clear_shadow_unredirected.conf testcases/clear_shadow_unredirected.py
|
2020-11-27 15:35:09 -05:00
|
|
|
./run_one_test.sh $exe configs/clear_shadow_unredirected.conf testcases/redirect_when_unmapped_window_has_shadow.py
|
2020-08-31 12:39:02 -04:00
|
|
|
./run_one_test.sh $exe configs/issue394.conf testcases/issue394.py
|
2020-11-27 22:07:59 -05:00
|
|
|
./run_one_test.sh $exe configs/issue239.conf testcases/issue525.py
|
2024-02-18 18:46:26 -05:00
|
|
|
./run_one_test.sh $exe configs/pull1091.conf testcases/pull1091.py
|