Bug 23425 - GeoclueMasterClient should auto destroy upon Geoclue crashing
Summary: GeoclueMasterClient should auto destroy upon Geoclue crashing
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-08-20 11:43 UTC by Pierre-Luc Beaudoin
Modified: 2009-08-20 14:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.