Screencast service with custom pipelineString is missing fileExtension
Affected version
- Affected GNOME Shell version: 46
Bug summary
I'm maintaining EasyScreenCast and updated it for Gnome 46 support. This extension calls the screencast dbus service with a custom pipeline (option.pipeline
) and a custom filename with file extension.
Now with Gnome 46, the file extension ".webm" is removed. But since I'm using a custom pipeline string, the file extension is not known and the recorded file ends with ".undefined".
The file extension is removed here: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/dbusServices/screencast/screencastService.js#L579-L584
For the predefined pipelines, the file extension is known.
For the EasyScreenCast extension, I added a workaround to rename the file in the end, so this bug is not really reproducible.
But it would be better, if I could either provide the file extension to be used for my custom pipeline string - maybe by providing options.pipelineFileExtension
? Or alternatively, the file extension should only be removed when one of the default pipelines is used.
Steps to reproduce
What happened
The screencast service recorded to a file with the file extension ".undefined".
What did you expect to happen
The screencast service should have used the file extension from the provided filename.
Relevant logs, screenshots, screencasts etc.
'file_template' for screencast includes '.webm' file-extension. Passing the file-extension as part of the filename has been deprecated, pass the 'file_template' without a file-extension instead.