diff --git a/src/Apparition.js b/src/Apparition.js index d8291e5..981fb16 100644 --- a/src/Apparition.js +++ b/src/Apparition.js @@ -37,9 +37,10 @@ var Apparition = class Apparition { // ---------------------------------------------------------------------------- metadata - // The effect is available on all GNOME Shell versions supported by this extension. + // The effect is not available on GNOME Shell 3.36 as it requires scaling of the window + // actor. static getMinShellVersion() { - return [3, 36]; + return [3, 38]; } // This will be called in various places where a unique identifier for this effect is diff --git a/tests/generate-references.sh b/tests/generate-references.sh index 3857ed6..3d2b7ea 100755 --- a/tests/generate-references.sh +++ b/tests/generate-references.sh @@ -168,13 +168,16 @@ echo "Entering test mode." set_setting "test-mode" true do_in_pod gsettings set org.gnome.mutter center-new-windows true -capture_effect "apparition" capture_effect "energize-a" capture_effect "energize-b" capture_effect "fire" capture_effect "tv" capture_effect "wisps" +if [[ "${FEDORA_VERSION}" -gt 32 ]]; then + capture_effect "apparition" +fi + if [[ "${FEDORA_VERSION}" -gt 33 ]]; then capture_effect "trex" capture_effect "broken-glass" diff --git a/tests/references/apparition-close-gnome-wayland-nested-32.png b/tests/references/apparition-close-gnome-wayland-nested-32.png deleted file mode 100644 index 218ee92..0000000 Binary files a/tests/references/apparition-close-gnome-wayland-nested-32.png and /dev/null differ diff --git a/tests/references/apparition-close-gnome-xsession-32.png b/tests/references/apparition-close-gnome-xsession-32.png deleted file mode 100644 index 218ee92..0000000 Binary files a/tests/references/apparition-close-gnome-xsession-32.png and /dev/null differ diff --git a/tests/references/apparition-open-gnome-wayland-nested-32.png b/tests/references/apparition-open-gnome-wayland-nested-32.png deleted file mode 100644 index 218ee92..0000000 Binary files a/tests/references/apparition-open-gnome-wayland-nested-32.png and /dev/null differ diff --git a/tests/references/apparition-open-gnome-xsession-32.png b/tests/references/apparition-open-gnome-xsession-32.png deleted file mode 100644 index 218ee92..0000000 Binary files a/tests/references/apparition-open-gnome-xsession-32.png and /dev/null differ diff --git a/tests/run-test.sh b/tests/run-test.sh index 3743530..29db5d8 100755 --- a/tests/run-test.sh +++ b/tests/run-test.sh @@ -197,13 +197,16 @@ echo "Entering test mode." set_setting "test-mode" true do_in_pod gsettings set org.gnome.mutter center-new-windows true -test_effect "apparition" test_effect "energize-a" test_effect "energize-b" test_effect "fire" test_effect "tv" test_effect "wisps" +if [[ "${FEDORA_VERSION}" -gt 32 ]]; then + test_effect "apparition" +fi + if [[ "${FEDORA_VERSION}" -gt 33 ]]; then test_effect "trex" test_effect "broken-glass"