GNOME Bugzilla – Bug 615002
Cheese crashes if you press take a photo and you have no webcam
Last modified: 2010-04-22 06:36:37 UTC
to reproduce: 1. do not have a camera attached 2. go to File>take a photo 3. watch cheese crash
Created attachment 158080 [details] backtrace
Created attachment 158081 [details] backtrace
hmmm sorry I did not add the .txt extension to the first attachment and i do not see a way to delete it. Just ignore it and use the second one.
https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/556610, this is the downstream bug I am forwarding. Obviously the menu item just needs to be greyed out, but the code should have some error handling to if it is not to difficult, that is why I included the backtrace.
Created attachment 158235 [details] [review] Disables 'Take Photo' menu item when no devices are found
The following fix has been pushed: fba6148 menu: disable Take Photo when there is no camera
Created attachment 159311 [details] [review] menu: disable Take Photo when there is no camera
Yuvi, I had to manually fix the author name in the patch. Please fix your .gitconfig!