Linux version is unable to get location #5114

Closed
opened 2023-05-10 13:27:45 +00:00 by baarkerlounger · 6 comments
baarkerlounger commented 2023-05-10 13:27:45 +00:00 (Migrated from github.com)

Describe the issue
The Linux version is unable to get a location. This is reproducible on desktop Linux (debian) and Mobile Linux (PureOS), installed via Flatpak from Flathub in both cases.

On both devices Gnome maps and PureMaps are able to get a location fix using Geoclue (Wifi based on desktop, Wifi/GPS based on mobile)

Clicking the location icon doesn't do anything, and does not produce any console logs either.

Steps to reproduce

  1. Install the flatpak from Flathub
  2. Click on the location icon (marker with strikethrough)
  3. Note that the map does not center on your actual location or display a marker for it

Expected behavior
Organic maps centers on my location and shows a marker

System information:

  • Operating system: Debian 12, PureOS 10
  • Organic Maps version: 2023.05.08-1-fd0133d9-dirty-Linux
  • Device Model: Librem 5, Thinkpad X1
**Describe the issue** The Linux version is unable to get a location. This is reproducible on desktop Linux (debian) and Mobile Linux (PureOS), installed via Flatpak from Flathub in both cases. On both devices Gnome maps and PureMaps are able to get a location fix using Geoclue (Wifi based on desktop, Wifi/GPS based on mobile) Clicking the location icon doesn't do anything, and does not produce any console logs either. **Steps to reproduce** 1. Install the flatpak from Flathub 2. Click on the location icon (marker with strikethrough) 3. Note that the map does not center on your actual location or display a marker for it **Expected behavior** Organic maps centers on my location and shows a marker **System information:** - Operating system: Debian 12, PureOS 10 - Organic Maps version: 2023.05.08-1-fd0133d9-dirty-Linux - Device Model: Librem 5, Thinkpad X1
biodranik commented 2023-05-10 16:03:24 +00:00 (Migrated from github.com)

Are there any related existing issues already?

Are there any related existing issues already?
baarkerlounger commented 2023-05-10 16:09:38 +00:00 (Migrated from github.com)

@biodranik possibly this #3870

`@biodranik` possibly this https://git.omaps.dev/organicmaps/organicmaps/issues/3870
Ferenc commented 2023-09-18 07:19:45 +00:00 (Migrated from github.com)

Done in #5823

Done in https://git.omaps.dev/organicmaps/organicmaps/pulls/5823
Ferenc (Migrated from github.com) closed this issue 2023-09-18 07:19:45 +00:00
baarkerlounger commented 2023-10-10 12:14:58 +00:00 (Migrated from github.com)

@Ferenc- not sure if it's the same problem or a different one so let me know if I should rather open a new issue but this appears fixed for desktop but not mobile.

On mobile the app crashes as soon as the Location permission is granted with:

qt.positioning.geoclue2: Unable to start the client: "org.freedesktop.DBus.Error.AccessDenied" "Agent rejected 'app.organicmaps.desktop' for user '1000'. Please ensure that 'app.organicmaps.desktop' has installed a valid app.organicmaps.desktop.desktop file."

Device: Librem 5
OS: PureOS 10 "Byzantium" (Debian 11 based)
Package: 2023.09.22-27 Flatpak from Flathub

`@Ferenc-` not sure if it's the same problem or a different one so let me know if I should rather open a new issue but this appears fixed for desktop but not mobile. On mobile the app crashes as soon as the Location permission is granted with: ``` qt.positioning.geoclue2: Unable to start the client: "org.freedesktop.DBus.Error.AccessDenied" "Agent rejected 'app.organicmaps.desktop' for user '1000'. Please ensure that 'app.organicmaps.desktop' has installed a valid app.organicmaps.desktop.desktop file." ``` Device: Librem 5 OS: PureOS 10 "Byzantium" (Debian 11 based) Package: 2023.09.22-27 Flatpak from Flathub
Ferenc commented 2023-10-10 13:34:09 +00:00 (Migrated from github.com)

@Ferenc- not sure if it's the same problem or a different one so let me know if I should rather open a new issue but this appears fixed for desktop but not mobile.

On mobile the app crashes as soon as the Location permission is granted with:

qt.positioning.geoclue2: Unable to start the client: "org.freedesktop.DBus.Error.AccessDenied" "Agent rejected 'app.organicmaps.desktop' for user '1000'. Please ensure that 'app.organicmaps.desktop' has installed a valid app.organicmaps.desktop.desktop file."

Device: Librem 5 OS: PureOS 10 "Byzantium" (Debian 11 based) Package: 2023.09.22-27 Flatpak from Flathub

This is a duplicate of the currently pinned issue in the flathub repo, please check the workaround there.

> `@Ferenc-` not sure if it's the same problem or a different one so let me know if I should rather open a new issue but this appears fixed for desktop but not mobile. > > On mobile the app crashes as soon as the Location permission is granted with: > > ``` > qt.positioning.geoclue2: Unable to start the client: "org.freedesktop.DBus.Error.AccessDenied" "Agent rejected 'app.organicmaps.desktop' for user '1000'. Please ensure that 'app.organicmaps.desktop' has installed a valid app.organicmaps.desktop.desktop file." > ``` > > Device: Librem 5 OS: PureOS 10 "Byzantium" (Debian 11 based) Package: 2023.09.22-27 Flatpak from Flathub This is a [duplicate of the currently pinned issue in the flathub repo](https://github.com/flathub/app.organicmaps.desktop/issues/61), please check the workaround there.
BenjaminLoison commented 2024-11-12 16:47:59 +00:00 (Migrated from github.com)

mentioned in issue #72

mentioned in issue #72
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps#5114
No description provided.