GNOME Shell crashes after recent GnomeDesktop.BGSlideShow API break
GNOME Shell stops working with the current master branch of gnome-desktop:
(gnome-shell:5806): Gjs-WARNING **: 11:40:59.363: JS ERROR: Error: No property filename on GnomeBGSlideShow
load@resource:///org/gnome/shell/ui/background.js:636:22
getAnimation@resource:///org/gnome/shell/ui/background.js:178:9
_loadAnimation@resource:///org/gnome/shell/ui/background.js:445:9
_loadFile@resource:///org/gnome/shell/ui/background.js:479:13
_load@resource:///org/gnome/shell/ui/background.js:494:9
Background@resource:///org/gnome/shell/ui/background.js:262:9
getBackground@resource:///org/gnome/shell/ui/background.js:590:30
_createBackgroundActor@resource:///org/gnome/shell/ui/background.js:753:26
BackgroundManager@resource:///org/gnome/shell/ui/background.js:687:32
_createBackgroundManager@resource:///org/gnome/shell/ui/layout.js:448:25
_updateBackgrounds@resource:///org/gnome/shell/ui/layout.js:483:29
_monitorsChanged@resource:///org/gnome/shell/ui/layout.js:543:9
_init@resource:///org/gnome/shell/ui/layout.js:298:9
_initializeUI@resource:///org/gnome/shell/ui/main.js:157:21
start@resource:///org/gnome/shell/ui/main.js:130:5
@<main>:1:31
** Message: 11:40:59.363: Execution of main.js threw exception: Script <main> threw an exception
gnome-session-binary 1548 - - WARNING: App 'org.gnome.Shell.desktop' exited with code 1
The reason is this line of code in js/ui/background.js
:
this._show = new GnomeDesktop.BGSlideShow({ filename: this.file.get_path() });
The change was done in these commits: gnome-desktop@ca5d61cf and gnome-desktop@269682c4.