Can't select search result after enabling location services #9825

Open
opened 2024-12-05 16:52:57 +00:00 by ddogfoodd · 14 comments
ddogfoodd commented 2024-12-05 16:52:57 +00:00 (Migrated from github.com)

Describe the issue
I have searched but haven't found another issue describing this problem.
More often than not I cannot select a search result. The search correctly shows the results and I can tap the view on map button which works, however when I tap on any of the search results nothing happens.

EDIT: This happens after enabling Location Services via the android quick settings menu.

Steps to reproduce

  1. Turn on Location in Android Quick Settings
  2. Go to Search (click on magnifying glass icon)
  3. Search for anything
  4. Tap on any of the results
  5. Sometimes nothing happens

Expected behaviour
I expect the search result that is tapped to be shown on map.

Screenshots
I can upload a recording if that helps. There really isn't much to show, but if you need it, let me know.

System information:

  • Operating system and its version: Android 14
  • Organic Maps version: 2024.11.27-12-Web
  • Device Model: Fairphone 5
**Describe the issue** I have searched but haven't found another issue describing this problem. More often than not I cannot select a search result. The search correctly shows the results and I can tap the view on map button which works, however when I tap on any of the search results nothing happens. EDIT: This happens after enabling Location Services via the android quick settings menu. **Steps to reproduce** 1. Turn on Location in Android Quick Settings 2. Go to Search (click on magnifying glass icon) 3. Search for anything 4. Tap on any of the results 5. Sometimes nothing happens **Expected behaviour** I expect the search result that is tapped to be shown on map. **Screenshots** I can upload a recording if that helps. There really isn't much to show, but if you need it, let me know. **System information:** - Operating system and its version: Android 14 - Organic Maps version: 2024.11.27-12-Web - Device Model: Fairphone 5
Contributor

I can't reproduce this, the search works on my phone

I can't reproduce this, the search works on my phone
ddogfoodd commented 2024-12-06 08:50:08 +00:00 (Migrated from github.com)

Hm it worked fine for me as well, now that I tried to reproduce. So I tried to more specifically reproduce my usual usage and found that it might be another problem.

I always have Location Services turned off and only turn it on via the quick settings menu when I need it to be on. So this problem reliably occurs after turning on Location Services via Quick Settings menu and than searching in Organic Maps.

It might be a problem with location services rather than Organic Maps it's search. Maybe I have to wait longer for it to initialize. I will keep examining.

Hm it worked fine for me as well, now that I tried to reproduce. So I tried to more specifically reproduce my usual usage and found that it might be another problem. I always have Location Services turned off and only turn it on via the quick settings menu when I need it to be on. So this problem reliably occurs after turning on Location Services via Quick Settings menu and than searching in Organic Maps. It might be a problem with location services rather than Organic Maps it's search. Maybe I have to wait longer for it to initialize. I will keep examining.
ddogfoodd commented 2024-12-06 08:50:45 +00:00 (Migrated from github.com)

changed title from Can't select search result to Can't select search result{+ after enabling location services+}

changed title from **Can't select search result** to **Can't select search result{+ after enabling location services+}**
Member

Do you have the phone unlocked when you do it?
Or maybe you have OM on your lockscreen when it happens?

A video would help 🙏

Do you have the phone unlocked when you do it? Or maybe you have OM on your lockscreen when it happens? A video would help :pray:
ddogfoodd commented 2024-12-07 01:10:41 +00:00 (Migrated from github.com)

No my phone is unlocked.

I just enable Location in Quick Settings then freshly open Organic Maps. OM recognizes my location and shows my cursor on the map but when I tap on search and search for anything, the results can be tapped but there is no response. Normally when a search result is tapped, the background changes to indicate that it is selected, that doesn't happen. Nothing happens really.

Is there a way to spoof the location, so I don't leak my precise location?
Else I will need to edit the video later.

No my phone is unlocked. I just enable Location in Quick Settings then freshly open Organic Maps. OM recognizes my location and shows my cursor on the map but when I tap on search and search for anything, the results can be tapped but there is no response. Normally when a search result is tapped, the background changes to indicate that it is selected, that doesn't happen. Nothing happens really. Is there a way to spoof the location, so I don't leak my precise location? Else I will need to edit the video later.
Member

Is there a way to spoof the location, so I don't leak my precise location? Else I will need to edit the video later.

You can use https://f-droid.org/en/packages/cl.coders.faketraveler/

make sure to set it as the mock location app in developer options:

Requirements: In order to work, you need to allow Fake Traveler to mock locations. You have to enable Developer options and select this app in Settings/System/Developer options/Select mock location app option.

> Is there a way to spoof the location, so I don't leak my precise location? Else I will need to edit the video later. You can use https://f-droid.org/en/packages/cl.coders.faketraveler/ make sure to set it as the mock location app in developer options: > Requirements: In order to work, you need to allow Fake Traveler to mock locations. You have to [enable Developer options](https://developer.android.com/studio/debug/dev-options?hl=en-419) and select this app in Settings/System/Developer options/Select mock location app option.
ddogfoodd commented 2024-12-07 02:01:33 +00:00 (Migrated from github.com)
https://github.com/user-attachments/assets/2663e88e-e4f6-482f-9980-9f1967a5af62
Member

screen-20241207-024227.1.mp4

Thanks! That's very odd.
(nice wallpaper!)

> screen-20241207-024227.1.mp4 Thanks! That's _very_ odd. (nice wallpaper!)
biodranik commented 2024-12-07 07:29:43 +00:00 (Migrated from github.com)

@ddogfoodd do bookmarks work in a similar dialog? You may need to add a few first to test.

And to clarify: if the location is disabled, everything works fine, correct?

`@ddogfoodd` do bookmarks work in a similar dialog? You may need to add a few first to test. And to clarify: if the location is disabled, everything works fine, correct?
ddogfoodd commented 2024-12-07 10:39:17 +00:00 (Migrated from github.com)

Yes, if location stays off, everything is fine.
I only notice it, when I want to navigate to some place, this is unfortunately also the situation where it is really annoying. Sometimes I can't seem to get it to work for several minutes.

Bookmarks work as intended. This can be used as a workaround.

Yes, if location stays off, everything is fine. I only notice it, when I want to navigate to some place, this is unfortunately also the situation where it is really annoying. Sometimes I can't seem to get it to work for several minutes. Bookmarks work as intended. This can be used as a workaround.
biodranik commented 2024-12-07 19:36:34 +00:00 (Migrated from github.com)

@ddogfoodd do you see Google Location Services setting on OM options? If yes, can you please try to change its value, restart OM, and try to reproduce the issue again?

`@ddogfoodd` do you see Google Location Services setting on OM options? If yes, can you please try to change its value, restart OM, and try to reproduce the issue again?
ddogfoodd commented 2024-12-07 19:41:49 +00:00 (Migrated from github.com)

I had it disabled.
When enabling it there is still some short delay when tapping on a search result but it seems to work overall.

I had it disabled. When enabling it there is still some short delay when tapping on a search result but it seems to work overall.
biodranik commented 2024-12-07 20:19:15 +00:00 (Migrated from github.com)

Is your phone un-googled? Do you have microg installed? Is the networking GPS provider set up/enabled in the system settings?

Is your phone un-googled? Do you have microg installed? Is the networking GPS provider set up/enabled in the system settings?
ddogfoodd commented 2024-12-07 20:23:50 +00:00 (Migrated from github.com)

I have somewhat limited Google services but I don't think it's really un-googled. I don't have MicroG installed.
Unfortunately I don't know which setting you mean, I didn't find it just now.

I have somewhat limited Google services but I don't think it's really un-googled. I don't have MicroG installed. Unfortunately I don't know which setting you mean, I didn't find it just now.
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
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#9825
No description provided.