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 735601 - The location button does nothing
The location button does nothing
Status: RESOLVED DUPLICATE of bug 734883
Product: gnome-maps
Classification: Applications
Component: general
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2014-08-28 13:29 UTC by Ankur Sinha (FranciscoD)
Modified: 2014-08-28 16:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ankur Sinha (FranciscoD) 2014-08-28 13:29:26 UTC
gnome-maps-3.13.4-2.fc21.x86_64

I moved around the map to see some places. Then I clicked the location button in the top right to get me back to my "home location", but nothing happened. (I assume that's the function of the button.)

Also, where does it get the home location from? It doesn't give the right location. It seems to give my older home address and I'm not sure where it's getting it from

Thanks,
Warm regards,
Ankur
Comment 1 Zeeshan Ali 2014-08-28 14:56:06 UTC
(In reply to comment #0)
>
> Also, where does it get the home location from? It doesn't give the right
> location. It seems to give my older home address and I'm not sure where it's
> getting it from

https://wiki.gnome.org/apps/Maps/Geolocation
Comment 2 Ankur Sinha (FranciscoD) 2014-08-28 16:13:03 UTC
(In reply to comment #1)
> (In reply to comment #0)
> >
> > Also, where does it get the home location from? It doesn't give the right
> > location. It seems to give my older home address and I'm not sure where it's
> > getting it from
> 
> https://wiki.gnome.org/apps/Maps/Geolocation

The weather and clocks app get my location just fine. My laptop is using wifi too, which according to the link, is the best source :)

I've noticed that when I use the weather or clocks app, the location "icon" appears in the top right, but this does not happen when I use the maps application.
Comment 3 Ankur Sinha (FranciscoD) 2014-08-28 16:17:34 UTC
When I say that the location button does nothing, I'm saying that I *thought* it was supposed to center the map back at my location. I'm not sure if this is what it's supposed to - I just thought so.
Comment 4 Zeeshan Ali 2014-08-28 16:38:15 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > >
> > > Also, where does it get the home location from? It doesn't give the right
> > > location. It seems to give my older home address and I'm not sure where it's
> > > getting it from
> > 
> > https://wiki.gnome.org/apps/Maps/Geolocation
> 
> The weather and clocks app get my location just fine. My laptop is using wifi
> too, which according to the link, is the best source :)

Those apps only asks for city-level location and geoclue is likely only using geoip for them. On the other hand Maps asks for exact location so wifi is used (assuming you don't have a modem).

> I've noticed that when I use the weather or clocks app, the location "icon"
> appears in the top right, but this does not happen when I use the maps
> application.

I think most likely Maps fails to talk to geoclue. What version of geoclue do you have? Do you see any errors on console?
Comment 5 Ankur Sinha (FranciscoD) 2014-08-28 16:44:44 UTC
Ah, yes. I see these:

Gjs-Message: JS LOG: Failed to connect to GeoClue2 service: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Access denied
Gjs-Message: JS LOG: Failed to connect to GeoClue2 service: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Access denied
Gjs-Message: JS LOG: Failed to connect to GeoClue2 service: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Access denied


geoclue2-2.1.9-2.fc21.x86_64

Running weather/clocks did not give this error. Any hints on how I can debug this?

Thanks for quickly looking into this,
Warm regards,
Ankur
Comment 6 Zeeshan Ali 2014-08-28 16:49:18 UTC
(In reply to comment #5)
> Ah, yes. I see these:
> 
> Gjs-Message: JS LOG: Failed to connect to GeoClue2 service:
> GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Access denied
> Gjs-Message: JS LOG: Failed to connect to GeoClue2 service:
> GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Access denied
> Gjs-Message: JS LOG: Failed to connect to GeoClue2 service:
> GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Access denied
> 
> 
> geoclue2-2.1.9-2.fc21.x86_64

Ah yes, the desktop id issue. This is duplicate of bug#734883.
Comment 7 Zeeshan Ali 2014-08-28 16:49:31 UTC

*** This bug has been marked as a duplicate of bug 734883 ***
Comment 8 Ankur Sinha (FranciscoD) 2014-08-28 16:56:35 UTC
Ah! Great! Thanks. I'll wait for a gnome-maps update in Fedora and confirm the fix.