After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703123 - No way to tell whether camera is already being used by another application
No way to tell whether camera is already being used by another application
Status: RESOLVED FIXED
Product: cheese
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: 3.8
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-06-26 13:40 UTC by pnmanolova
Modified: 2013-06-27 19:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (2.86 KB, patch)
2013-06-26 13:48 UTC, pnmanolova
rejected Details | Review

Description pnmanolova 2013-06-26 13:40:40 UTC
libcheese doesn't notify its client applications when the camera device is already being used by some other application. For instance if you open gnome-control-center and open the take picture avatar dialog and afterwards start the cheese application you get a black screen with no UI indicator as to why this is happening. This might be interpreted by users as a feature failure.
Comment 1 pnmanolova 2013-06-26 13:48:00 UTC
Created attachment 247827 [details] [review]
Proposed patch
Comment 2 David King 2013-06-26 21:19:21 UTC
Comment on attachment 247827 [details] [review]
Proposed patch

I fixed this in a different way in commit 202e73abf80ad737658a9e7a20f5502a406eb64b on master.
Comment 3 pnmanolova 2013-06-27 12:10:10 UTC
(In reply to comment #2)
> (From update of attachment 247827 [details] [review])
> I fixed this in a different way in commit
> 202e73abf80ad737658a9e7a20f5502a406eb64b on master.

Thanks for fixing this for cheese. The problem is still present for applications using the avatar-chooser though. Maybe implementing a getter which fetches the CheeseCamera being used by the avatar-chooser, so that any application using it can connect to the state-changed signal would be a reasonable solution?
Comment 4 David King 2013-06-27 19:44:26 UTC
I fixed the NULL state change in CheeseAvatarChooser in commit c84e1a850231fb37793f47928b3ded18b1546920 on master.