GNOME Bugzilla – Bug 733432
Photo/video path fallback doesn't work.
Last modified: 2014-07-20 18:32:14 UTC
Created attachment 281214 [details] [review] Fixes the issue. Cheese appears to be unable to save captured photos, or videos, if XDG_PHOTO, or XDG_VIDEO, and org.gnome.Cheese.photo-path, or .video-path, are not set. It also doesn't display previously taken photos in the gallery thing at the bottom.
Created attachment 281225 [details] [review] check XDG video and photo path explicitly It's probably better to directly check the return value of g_get_user_special_dir(), as it is documented to return NULL on failure. Does the attached patch work for you? If so, I can write a test that checks the behaviour is correct when the relevant. XDG variables are not set
Yeah, that patch works for me. Thank you!
*** Bug 731032 has been marked as a duplicate of this bug. ***
Comment on attachment 281225 [details] [review] check XDG video and photo path explicitly Pushed to master as 589c9291fc37ab088003685ea3d874976cc5b0ea.