GNOME Bugzilla – Bug 707308
Recording does not work – "Shell.Recorder is not a constructor"
Last modified: 2013-09-05 00:13:06 UTC
In latest gnome-shell git, attempting to activate screen recording only prints this error message: (gnome-shell:3214441): Gjs-WARNING **: JS ERROR: TypeError: Shell.Recorder is not a constructor ScreencastService<._ensureRecorderForSender@/usr/share/gnome-shell/js/ui/screencast.js:56 wrapper@/usr/share/gjs-1.0/lang.js:213 ScreencastService<.ScreencastAsync@/usr/share/gnome-shell/js/ui/screencast.js:110 wrapper@/usr/share/gjs-1.0/lang.js:213 _handleMethodCall@/usr/share/gjs-1.0/overrides/Gio.js:315 @/usr/share/gjs-1.0/overrides/Gio.js:346 gnome-shell 3.9.90.r126.g938628a
The shell recorder is optional, was it enabled at build time? (We should probably catch this better, still...)
It should have been; I build gnome-shell the same way, and it just stopped working very recently. (And I don't see a ./configure option for it either...) (Anyway, checked config.log, and it says it found GStreamer, and has BUILD_RECORDER_TRUE='' BUILD_RECORDER_FALSE='#' which ./configure only writes when it's set to "true". libgnome-shell itself is linked to libgstreamer and libgstbase; gnome-control-center also has lists the recorder keyboard shortcut.)
Created attachment 253912 [details] [review] build: Fix building introspection for ShellRecorder This is a regression from commit 21a85832b3f, which resulted in shell-recorder.[ch] not being included in gir generation.
Review of attachment 253912 [details] [review]: Looks good
Attachment 253912 [details] pushed as 56179d8 - build: Fix building introspection for ShellRecorder
*** Bug 705786 has been marked as a duplicate of this bug. ***