Failure in generation of thumbnail and missing default icon causes unresponsiveness
I'm on Arch Linux 64bit running cheese 3.34.0 and gnome 3.36.1. I confirmed this issue on Cheese compiled from today's sources using these instructions.
If Cheese saves a broken webcam video (which is not the topic of this issue issue) on the next run it will be unresponsive while in the console the following errors will be printed in a loop:
WARNING **: Icon 'video-webm' not present in theme Adwaita
totem-video-thumbnailer couldn't get a picture from 'file:///tmp/gnome-desktop-file-to-thumbnail.webm'
WARNING **: could not generate thumbnail for /home/ilario/videos/Webcam/2020-04-22-162252.webm (video/webm)
To reproduce:
- create a broken webm file (in my case it happens when trying to record a video Cheese seems frozen and I kill it) for example with:
dd if=/dev/random count=1000 of=$HOME/videos/Webcam/test.webm
- open cheese
What should happen:
the thumbnail creation should fail and a generic icon of video should appear in the thumbnails bar in cheese
What happens:
Cheese is unresponsive
Related issues:
- #18 (closed) refers to both the broken video generation and to this issue
- https://bugs.gentoo.org/667350
Edited by ilario