Preferences remain open when client goes in background
Issue generated from Tuleap's migration script. Originally submitted by: Hugo Lefeuvre (hle)
Whenever the preferences are open and the Ring window is closed (that is the client
enters in background state ?), preferences remain open. This is annoying in the case
where the user was in the Media Preferences with Camera preview: In this case the
daemon continues to record the user, thus letting the web cam led on, potentially
giving the user the impression to be "observed".
* Reproduce steps:
- Open Ring
- Go to Media Preferences
- If preview is activated (which, I guess, is almost always the case) your web cam led should be on
- Close the Ring window. The daemon is still recording because the camera led is still on.
Fix: Preferences should be closed when the Ring window is closed.