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

Cannot open any quests #2711

Closed
wolfgang42 opened this issue Apr 1, 2021 · 4 comments
Closed

Cannot open any quests #2711

wolfgang42 opened this issue Apr 1, 2021 · 4 comments
Labels
bug feedback required more info is needed, issue will be likely closed if it is not provided

Comments

@wolfgang42
Copy link

I have a Verizon QTAQTZ tablet, running Android 5.1.1, with StreetComplete 31.1 installed from F-Droid. On this device, I can't click on any of the quest markers, but everything else works—I can drag the map around, click on other UI elements, etc; just not open any quests. I have a phone with the same version of StreetComplete installed and working, so this is presumably some sort of device-specific bug. It's also been like this for more than a year now (I've just not bothered to report it), so it's not a recent regression in StreetComplete, either.

Since this problem seems to be particular to my device, I'm happy to dig in with Android Studio and a debugger to figure out what the issue is; but as it's a pretty complex app I'm not sure where to start looking.

@wolfgang42 wolfgang42 added the bug label Apr 1, 2021
@peternewman
Copy link
Collaborator

Do notes do the same thing @wolfgang42 ?

What about if you tap the compass icon to try a different orientation (including 3D)?

I assume you've tried the obvious of uninstalling it completely and then putting it back on?

A screenshot might help someone to spot something different if you can get one easily?

@westnordost
Copy link
Member

You can set a breakpoint in QuestsMapFragment.kt in the function onSingleTapConfirmed and then step through it. That is the place where the click is getting processed.

@westnordost westnordost added the feedback required more info is needed, issue will be likely closed if it is not provided label Apr 1, 2021
@wolfgang42
Copy link
Author

Do notes do the same thing?

Good thought, but yeah, I can't click them either.

What about if you tap the compass icon to try a different orientation (including 3D)?

I didn't realize that was a thing you could do. However, it doesn't seem to make any difference.

I assume you've tried the obvious of uninstalling it completely and then putting it back on?

Yeah, and also clearing the app's data and cache.

A screenshot might help someone to spot something different if you can get one easily?

I can, but unfortunately it looks exactly the way you'd expect. I also tried turning on “Show layout bounds” but it seems like the map doesn't use them.


Now, on to debugging. I set a breakpoint here:

and confirmed that this function is being called, but it seems that pickResult is always null. I also tried investigating pickLabel, but quickly ran into com.mapzen.tangram.NativeMap and was unable to step any further. Seems like I'll probably need to dig into Tangram to figure out what might be going wrong, any hints for how to go about doing that? I've never done anything with native code on Android before.

@westnordost
Copy link
Member

westnordost commented Apr 2, 2021

As I thought, so it is an upstream issue. You should post this in the bugtracker of tangram-es and supply as much information about your device as possible. It may help to try out one of their sample apps and see if you can reproduce the issue there.

I can be of no assistance for debugging things in native code, also never done that before. Maybe on tangram-es, there is a guide for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feedback required more info is needed, issue will be likely closed if it is not provided
Projects
None yet
Development

No branches or pull requests

3 participants