pure-maps icon indicating copy to clipboard operation
pure-maps copied to clipboard

UI Request: indicate that location services is turned off

Open kop316 opened this issue 1 year ago • 5 comments

OS: Mobian Trixie Hardware: Librem 5 DE: Phosh

Hello!

By default, Mobian turns of location services in Phosh. Pure Maps did not give any indication that it could not access location services, but the beginning notification that comes up when it tries to access it did not appear. GNOME Maps, on the other hand, told me that location services was off.

It would be nice if Pure Maps could give some indication that Location Services was turned off, so a user would not be confused by that.

kop316 avatar Jan 29 '24 23:01 kop316

Is this notification expected on starting the app or constantly monitored? I would have to figure out UI also on how to indicate it and in which conditions (as if the precision is low and so on). Recommendations are welcome.

rinigus avatar Jan 30 '24 18:01 rinigus

Is this notification expected on starting the app or constantly monitored? I would have to figure out UI also on how to indicate it and in which conditions (as if the precision is low and so on). Recommendations are welcome.

I would think the notification would be on starting the app. When it was disabled, I did not get the notification shown below, so maybe a similar notification like this to say "Cannot access location, please make sure it is enabled"

photo_2024-01-30_12-21-56

GNOME Maps has it to where if you click on the location button, it tells you to turn on location (which is how I figured out it was off)

photo_2024-01-30_12-24-43

Thoughts?

kop316 avatar Jan 30 '24 19:01 kop316

Re getting notification: that notification comes from your shell (phosh). As Pure Maps is distributed via Flatpak, its a part of the service and interaction between the shell and flatpak.

I will look into it and probably use less invasive way to show it. In principle, Pure Maps is used for planning as well and it would be rather annoying to have such message covering UI. As for a shortcut to the location settings, Pure Maps supports too many Mobile Linux variants to easily support it and I suspect I cannot open it from Flatpak anyway.

rinigus avatar Jan 31 '24 18:01 rinigus

That's fair. Another thought for you is that the location button was "greyed out", and maybe clicking on it can show some sort of dialog? That could be a less invasive way of showing it.

kop316 avatar Jan 31 '24 18:01 kop316

Right now Pure Maps shows location in a dimmed mode when GPS location is not available or has rather poor precision. But, as I can see, more is needed. As for the dialog, its too difficult to make in some OS-independent manner to lead to the corresponding system settings.

rinigus avatar Feb 04 '24 12:02 rinigus