Bug 23425

Summary: GeoclueMasterClient should auto destroy upon Geoclue crashing
Product: GeoClue Reporter: Pierre-Luc Beaudoin <pierre-luc>
Component: GeneralAssignee: Geoclue Bugs <geoclue-bugs>
Status: RESOLVED FIXED QA Contact: Geoclue Bugs <geoclue-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pierre-Luc Beaudoin 2009-08-20 11:43:27 UTC
Host applications using GeoclueMasterClient should be informed that the client died (because geoclue-master crashed).  This way, they can recreate one and resetup the needed requirements and continue getting a position.

I suggest an approach similar to what Telepathy does: when the dbus object dies, GeoclueMasterClient emits an invalidated signal.  Host applications can react on this (and create a new client).

This will bugs in Empathy where Geoclue would crash and never get another geolocation.

The branch fix-geoclue-dying has the fix http://git.collabora.co.uk/?p=user/pierlux/geoclue.git;a=shortlog;h=refs/heads/fix-geoclue-dying
Comment 1 Keith Preston 2009-08-20 14:09:03 UTC
This is a good upgrade, pushed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.