Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Geolocation does not work on Firefox
@ 2021-12-28  8:47 tarik-arkun
  2021-12-28 11:14 ` paper42
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: tarik-arkun @ 2021-12-28  8:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

New issue by tarik-arkun on void-packages repository

https://github.com/void-linux/void-packages/issues/34728

Description:
https://github.com/void-linux/void-packages/tree/master/srcpkgs/firefox

Geolocation does not work on any website right now. It works perfectly with official binary release.

https://bugzilla.mozilla.org/show_bug.cgi?id=1610306

Our build has just --with-mozilla-api-keyfile compile option. But upstream default is "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%" for "geo.provider.network.url" about:config setting. We need Google location api keys too apparently.

I can understand the privacy concerns for that, but one needs to explicitly allow location access. The other choice is a broken functionality.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
@ 2021-12-28 11:14 ` paper42
  2021-12-28 11:35 ` tarik-arkun
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: paper42 @ 2021-12-28 11:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002029472

Comment:
It's not possible for us to ship google API keys, but we have mozilla keys, so we should switch to their location provider.

1. test that a map doesn't load on https://browserleaks.com/geo
2. open about:settings
3. replace value of `geo.provider.network.url` with `https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%`
4. test that a map loads on https://browserleaks.com/geo with your location (after allowing location access in a popup)

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
  2021-12-28 11:14 ` paper42
@ 2021-12-28 11:35 ` tarik-arkun
  2021-12-28 12:16 ` paper42
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tarik-arkun @ 2021-12-28 11:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

New comment by tarik-arkun on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002042599

Comment:
Why is it not possible for us exactly? Arch, Ubuntu etc. can: https://github.com/archlinux/svntogit-packages/blob/packages/firefox/trunk/PKGBUILD

Actually I've tried with Arch's API key and it works: https://www.googleapis.com/geolocation/v1/geolocate?key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM

But it's not fair for us to use their key, so I reverted it.

Mozilla API thinks I live in a completely different town, I guess there is a reason why Google is the default.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
  2021-12-28 11:14 ` paper42
  2021-12-28 11:35 ` tarik-arkun
@ 2021-12-28 12:16 ` paper42
  2021-12-28 12:48 ` tarik-arkun
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: paper42 @ 2021-12-28 12:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002066823

Comment:
> Why is it not possible for us exactly? Arch, Ubuntu etc. can: [archlinux/svntogit-packages@`packages`/firefox/trunk/PKGBUILD](https://github.com/archlinux/svntogit-packages/blob/packages/firefox/trunk/PKGBUILD?rgh-link-date=2021-12-28T11%3A35%3A41Z)
> 
> Actually I've tried with Arch's API key and it works
> 
> But it's not fair for us to use their key, so I reverted it.

#28233

> Mozilla API thinks I live in a completely different town, I guess there is a reason why Google is the default.

It gets my location correct to 5 meters, maybe it's using GPS for me.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (2 preceding siblings ...)
  2021-12-28 12:16 ` paper42
@ 2021-12-28 12:48 ` tarik-arkun
  2021-12-28 12:56 ` Duncaen
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tarik-arkun @ 2021-12-28 12:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

New comment by tarik-arkun on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002087920

Comment:
Ok, I get that. In this case, the default value of "geo.provider.network.url" about:config option should be "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%" on our Firefox package.

But I wonder how Arch manages to get their own API key then? From the PKGBUILD of Arch:

> Google API keys (see http://www.chromium.org/developers/how-tos/api-keys). Note: These are for Arch Linux use ONLY. For your own distribution, please get your own set of keys. Feel free to contact foutrelis@archlinux.org for more information.

Maybe, it doesn't apply to the distro specific builds of Firefox.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (3 preceding siblings ...)
  2021-12-28 12:48 ` tarik-arkun
@ 2021-12-28 12:56 ` Duncaen
  2021-12-28 13:24 ` tarik-arkun
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Duncaen @ 2021-12-28 12:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002092270

Comment:
Yes the Google API keys still work for using the GEO api and some other stuff, maybe safebrowsing, I think the previous API keys were from a private google account and the uncertainty about if the keys simply don't work anymore with those apis they shut down or if there is some abuse potential when those api keys are made public and would fall back on the person who requested the keys resulted in just dropping the google api key from everywhere.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (4 preceding siblings ...)
  2021-12-28 12:56 ` Duncaen
@ 2021-12-28 13:24 ` tarik-arkun
  2021-12-28 13:34 ` Duncaen
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tarik-arkun @ 2021-12-28 13:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

New comment by tarik-arkun on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002104381

Comment:
That's great to hear. Then I assume we can get new keys specific to Void's Firefox build?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (5 preceding siblings ...)
  2021-12-28 13:24 ` tarik-arkun
@ 2021-12-28 13:34 ` Duncaen
  2021-12-28 17:38 ` tarik-arkun
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Duncaen @ 2021-12-28 13:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002108609

Comment:
I'd rather not risk my google account, you could use your own key instead of the variable in `geo.provider.network.url`.
Maybe someone in the core team could get a new key, but its not going to be me, I just maintain the browser packages.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (6 preceding siblings ...)
  2021-12-28 13:34 ` Duncaen
@ 2021-12-28 17:38 ` tarik-arkun
  2022-01-10 15:52 ` Vistaus
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tarik-arkun @ 2021-12-28 17:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

New comment by tarik-arkun on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1002212750

Comment:
I totally understand, thank you. It's not worth it if it's legally questionable. Until a core team member gets a key for Void officially, I think the best solution is making the Mozilla API default.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (7 preceding siblings ...)
  2021-12-28 17:38 ` tarik-arkun
@ 2022-01-10 15:52 ` Vistaus
  2022-01-10 15:54 ` Vistaus
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Vistaus @ 2022-01-10 15:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

New comment by Vistaus on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1009016324

Comment:
@tarik-arkun

`It works perfectly with official binary release.`

I've been using the official binary release for a while now and it doesn't work there either. So this has got to be an upstream bug or a bug in e.g. geoclue.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (8 preceding siblings ...)
  2022-01-10 15:52 ` Vistaus
@ 2022-01-10 15:54 ` Vistaus
  2022-01-10 15:57 ` Vistaus
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Vistaus @ 2022-01-10 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

New comment by Vistaus on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1009016324

Comment:
@tarik-arkun

`It works perfectly with official binary release.`

I've been using the official binary release for a while now and it doesn't work there either. Not with the Google key provided by Mozilla nor with Mozilla's location service. So this has got to be an upstream bug or a bug in e.g. geoclue.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (9 preceding siblings ...)
  2022-01-10 15:54 ` Vistaus
@ 2022-01-10 15:57 ` Vistaus
  2022-01-11  7:50 ` tarik-arkun
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Vistaus @ 2022-01-10 15:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

New comment by Vistaus on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1009016324

Comment:
@tarik-arkun

`It works perfectly with official binary release.`

I've been using the official binary release for a while now and it doesn't work there either. Not with the Google key provided by Mozilla nor with Mozilla's location service. So this has got to be an upstream bug or a bug in the location services themselves.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (10 preceding siblings ...)
  2022-01-10 15:57 ` Vistaus
@ 2022-01-11  7:50 ` tarik-arkun
  2022-01-11 10:34 ` Vistaus
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tarik-arkun @ 2022-01-11  7:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

New comment by tarik-arkun on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1009679947

Comment:
It doesn't matter actually. Our build won't work properly with a Google API as default until we get a Google API key, no matter what upstream does.

Have you tried 96.0?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (11 preceding siblings ...)
  2022-01-11  7:50 ` tarik-arkun
@ 2022-01-11 10:34 ` Vistaus
  2022-01-11 10:34 ` Vistaus
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Vistaus @ 2022-01-11 10:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

New comment by Vistaus on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1009828307

Comment:
Yes, I'm typing this from 96.0 and geo is just as broken.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (12 preceding siblings ...)
  2022-01-11 10:34 ` Vistaus
@ 2022-01-11 10:34 ` Vistaus
  2022-06-20  2:13 ` github-actions
  2022-07-04  2:15 ` [ISSUE] [CLOSED] " github-actions
  15 siblings, 0 replies; 17+ messages in thread
From: Vistaus @ 2022-01-11 10:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New comment by Vistaus on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1009828307

Comment:
Yes, I'm typing this from 96.0 and geo is just as broken as in previous versions.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (13 preceding siblings ...)
  2022-01-11 10:34 ` Vistaus
@ 2022-06-20  2:13 ` github-actions
  2022-07-04  2:15 ` [ISSUE] [CLOSED] " github-actions
  15 siblings, 0 replies; 17+ messages in thread
From: github-actions @ 2022-06-20  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/34728#issuecomment-1159892004

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [ISSUE] [CLOSED] Geolocation does not work on Firefox
  2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
                   ` (14 preceding siblings ...)
  2022-06-20  2:13 ` github-actions
@ 2022-07-04  2:15 ` github-actions
  15 siblings, 0 replies; 17+ messages in thread
From: github-actions @ 2022-07-04  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

Closed issue by ghost on void-packages repository

https://github.com/void-linux/void-packages/issues/34728

Description:
https://github.com/void-linux/void-packages/tree/master/srcpkgs/firefox

Geolocation does not work on any website right now. It works perfectly with official binary release.

https://bugzilla.mozilla.org/show_bug.cgi?id=1610306

Our build has just --with-mozilla-api-keyfile compile option. But upstream default is "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%" for "geo.provider.network.url" about:config setting. We need Google location api keys too apparently.

I can understand the privacy concerns for that, but one needs to explicitly allow location access. The other choice is a broken functionality.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-07-04  2:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-28  8:47 [ISSUE] Geolocation does not work on Firefox tarik-arkun
2021-12-28 11:14 ` paper42
2021-12-28 11:35 ` tarik-arkun
2021-12-28 12:16 ` paper42
2021-12-28 12:48 ` tarik-arkun
2021-12-28 12:56 ` Duncaen
2021-12-28 13:24 ` tarik-arkun
2021-12-28 13:34 ` Duncaen
2021-12-28 17:38 ` tarik-arkun
2022-01-10 15:52 ` Vistaus
2022-01-10 15:54 ` Vistaus
2022-01-10 15:57 ` Vistaus
2022-01-11  7:50 ` tarik-arkun
2022-01-11 10:34 ` Vistaus
2022-01-11 10:34 ` Vistaus
2022-06-20  2:13 ` github-actions
2022-07-04  2:15 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).