Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Request: indicate that location services is turned off #669

Open
kop316 opened this issue Jan 29, 2024 · 5 comments
Open

UI Request: indicate that location services is turned off #669

kop316 opened this issue Jan 29, 2024 · 5 comments

Comments

@kop316
Copy link

kop316 commented Jan 29, 2024

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.

@rinigus
Copy link
Owner

rinigus commented Jan 30, 2024

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.

@kop316
Copy link
Author

kop316 commented Jan 30, 2024

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?

@rinigus
Copy link
Owner

rinigus commented Jan 31, 2024

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.

@kop316
Copy link
Author

kop316 commented Jan 31, 2024

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.

@rinigus
Copy link
Owner

rinigus commented Feb 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants