Skip to content

Sharing location fails to even request location if not limited to coarse-grained locationΒ #9074

@pelzvieh

Description

@pelzvieh

Steps to reproduce

  1. In system settings, location, grant location access to Element. Either grant it access to precise location or switch off access to precise location.
  2. In any matrix room with write permission...
  3. Tap the (+) button, then the location drop

Outcome

What did you expect?

I expected to request precise location and allow to share if found.
I expected to share coarse location if I do not grant access to precise location.

What happened instead?

  1. If the Element app is granted access to precise location:
    A map appears zoomed to show the whole world, and a circular delay indication circling.
    The app fails to even issue a location request (no location indicator visible in the status bar, Element not listed under "last access" in the location settings page)
  2. If the Element app's grant for fine location access is switched off:
    A dialogue appears asking to grant fine location access.
    If you select "change to precise location", the whole world map is appearing, and after some time the coarse location is determined, and the option to once share this location or to share current location for some time is offered. In both cases, only coarse location information is transmitted.
    If you select "allow this time", the world map is appearing and no location is requested nor found, exactly as if it was granted precise location access right away.
    If you select "remain at coarse location", the app shows an error dialogue and does not allow location to be shared.

Your phone model

Fairphone 5, Sony Xperia

Operating system version

Android 15

Application version and app store

Element 1.6.44 from F-Droid, Element 1.6.44 from Google Play Store

Homeserver

matrix-synapse-py3 1.136.0+trixie1

Will you send logs?

Yes

Are you willing to provide a PR?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-DefectSomething isn't working: bugs, crashes, hangs and other reported problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions