Skip to content

Pinch zoom hangs #257

Description

@RabidArts

Using Mobile, I'm completely unable to pinch zoom.
After lifting my fingers, the portals disappear, and the status remains "paused during interaction".
Seems that the end of the pinch zoom action is not detected.

I'm running stock android 4.1.1 on a Samsung N7100 (Note 2).

I've tried the 0.3.6 test build and 0.3.2 stable, and both exhibit this, with the stable release giving me issues with the zoom buttons in addition.

Activity

  1. hastarin commented on May 9, 2013

    @hastarin
    Contributor

    I've noticed certain interactions result in that and plan to look into it when I get the chance.

    If you hit refresh or move the map it tends to work as a temporary workaround.

  2. RabidArts commented on May 9, 2013

    @RabidArts
    Author

    Thanks for the quick reply.

    Unfortunately, those workarounds don't work in this case .. panning is unresponsive when this has happened, and a forced refresh will take me back to the original extents, rendering the pinch zoom useless.

  3. jonatkins commented on May 10, 2013

    @jonatkins
    Collaborator

    just for reference, I very occasionally get the 'paused during interaction' using chrome on my desktop PC.

  4. hastarin commented on May 12, 2013

    @hastarin
    Contributor

    Once #268 is merged you may like to try a test build to see if this is fixed.

  5. RabidArts commented on May 12, 2013

    @RabidArts
    Author

    Did a reinstall now, just to check, but still broken.

    The behavior is slightly different though, previously the map would not zoom in and the portals would disappear.
    Now the map zooms in, but doesn't update to more detail. The status still remains "paused during user interaction"

    Will keep an eye on the commits for the mobile render limit changes.

  6. wernicke81 commented on May 22, 2013

    @wernicke81
    Contributor

    Try using the +/- buttons until pinch zoom is fixed.

  7. RabidArts commented on May 22, 2013

    @RabidArts
    Author

    Yup that's what I'll be doing.
    The latest nightly seems very smooth aside from the pinch zoom issue.

  8. leCradle commented on May 22, 2013

    @leCradle
    Collaborator

    @RabidArts just for the record...does double tap to zoom works for you?

  9. hastarin commented on May 22, 2013

    @hastarin
    Contributor

    @RabidArts Can you check pinch-to-zoom with the latest version and all plugins and display user location turned off?

    If it works can you please try turning one plugin on at a time to see if it's a particular plugin, or perhaps just the number of total active plugins, causing the issue.

  10. leCradle commented on May 23, 2013

    @leCradle
    Collaborator

    @RabidArts could you please check http://iitcm.code-noobs.org/iitc_pinch_to_zoom_debug5.apk if it fixes your pinch2zoom bug?

  11. RabidArts commented on May 23, 2013

    @RabidArts
    Author

    @hastarin I tried both the latest and test release and unfortunately both fail.

    Interestingly the status message on the release version seems to respond properly but the portals on the map disappear and wont come back, and no more zooming is possible.
    Usually both freeze up.

    Struggling to get the buttons to work too.

    @leCradle Unfortunately double tap also won't work.
    I tried the debug version and it also doesn't seem to work... and neither do the zoom buttons. :-(

  12. leCradle commented on May 23, 2013

    @leCradle
    Collaborator

    @RabidArts portals disappear? With google layers too?

    Can you test some builds on http://iitcm.code-noobs.org ?
    Which is the latest version that works for you?
    Hint: try these first http://iitcm.code-noobs.org/IITC-Mobile-2013-05-09-143915.apk and http://iitcm.code-noobs.org/IITC-Mobile-2013-05-12-220049.apk
    If both version do well, please check later versions....
    Would be a big help for us since we can't reproduce the bug. Thx

  13. jonatkins commented on May 23, 2013

    @jonatkins
    Collaborator

    portals disappearing could be an instance of #90 - the map layer appearing on top of everything else. Do the zoom controls, status panel, etc also disappear?

  14. leCradle commented on May 23, 2013

    @leCradle
    Collaborator

    If it works for google layers (I have this problem when zooming out in areas with high portal density) it could be an instance of Leaflet/Leaflet#1698

  15. RabidArts commented on May 23, 2013

    @RabidArts
    Author

    Thanks so far guys.

    I'm running through a bunch of tests on a few versions now - so far I've picked up that there is a distinct difference in symptoms depending on what base layer I'm using.

    So far, it looks like the default ingress map layer works a little better (I can double tap and use the zoom buttons, while the MapQuest OSM layer doesn't let me do this). Still no pinch zoom on either though.

    @jonatkins The zoom controls and status panel do not disappear - only the portals.

    @leCradle That leaflet description sounds quite plausible and similar, except this isn't an occasional thing that happens, it's consistent whenever I pinch zoom.

  16. 19 remaining items

  17. jonatkins commented on Jun 9, 2013

    @jonatkins
    Collaborator

    @leCradle I did update Leaflet a week or so ago - might have helped?

  18. jonatkins commented on Jun 11, 2013

    @jonatkins
    Collaborator

    Not certain if this is the samew issue, or something separate, but I had the following comment on the IITC page

    "I have identified when the multi touch commands stop working in the application is when I use the GPS location. If I have the app find me on the phone instead of manually finding a location or using the search feature, Multi touch commands for zoom stop working."

  19. Scavanger commented on Jun 11, 2013

    @Scavanger

    Zoom still don't work on my Note II with stock rom.

    Not really a solution:
    I tried to run IITC as a user script under some Android Browsers (Chrome, Tampermonkey for Android, Opera (Classic)).
    The only solution is to convert it into an addon for Firefox mobile. Pinch to zoom works here but it has some disadvantages:

    • No Plugins
    • No Setting
    • Switching between layers worked faithless

    But I can use IITC on my phone. :)

  20. leCradle commented on Jun 12, 2013

    @leCradle
    Collaborator

    @jonatkins I don't get his point.
    "If I have the app find me on the phone instead of manually finding a location or using the search feature [...]"
    This implies he means the "get location" button, but this is no GPS location...so...did he mean the GPS-location (display user location) or the "get location" stuff?

    Can anyone confirm this location-pinch2zoom coherence?

  21. leCradle commented on Jun 12, 2013

    @leCradle
    Collaborator

    @Scavanger this is really interesting. How did you convert the script?

  22. Scavanger commented on Jun 12, 2013

    @Scavanger

    @leCradle:

    This is very easy. I used page-mod (https://addons.mozilla.org/en-US/developers/docs/sdk/1.14/modules/sdk/page-mod.html) put it together with the IITC script and compiled the whole thing with the Mozilla addon SDK for FF mobile.

    I made only to small hacks:

    • Bring back the layer chooser
    • Use the X in the portal info to close the whole view.

    You can find the source code and the compiled addon (xpi file) here: https://github.com/Scavanger/IITCFirefoxAddOn

  23. nathanstretch commented on Jun 24, 2013

    @nathanstretch

    I was having this same problem until I turned show user location on. Only with user location on am I able to pinch zoom. No other plugins are installed. This is on a Galaxy S4, with IITC build 0.4.6, version 0.12.1.20130612.162306.

  24. egyptianbman commented on Aug 23, 2013

    @egyptianbman

    Thank you @nathanstretch! I've been having this issue for months and turning show use location did fix the issue.

  25. markdeaton commented on Aug 23, 2013

    @markdeaton

    I've been having the pinch/zoom problem also, on a Samsung Galaxy S2, AOKP. (Android browser installed, Chrome not installed.) I noticed that...

    1. After I first installed the app, pinch/zoom worked just fine.
    2. After a short while (very likely after I first used the "find location" feature as noted above) it stopped working and would freeze the app when I tried.
    3. Enabling "show user location" does make it work again but with one difference. Before, the map and markers would enlarge dynamically as I used the pinch-open gesture to zoom in. Now nothing moves on the screen until I finish the gesture and remove my fingers from the screen, at which point, the zoom happens. While it's useful as-is, it was still more useful to have the dynamic visual indicator of the degree to which I was zooming.
  26. leCradle commented on Nov 10, 2013

    @leCradle
    Collaborator

    FYI issue is reported to leaflet, but ignored until now Leaflet/Leaflet#1759

  27. sosnet commented on Nov 11, 2013

    @sosnet

    As written in #636 I have problems with zooming in/out on my nex5 on Android 4.4
    I figured out, that this problem appears only when using google-maps, not with OSM.

    The map freezes on "map: pause"

  28. fab1an commented on Jun 13, 2014

    @fab1an

    Check this out pls: Leaflet/Leaflet#2693 (comment)

  29. wjwolf79 commented on Nov 8, 2014

    @wjwolf79

    I kind of did a quick read through of this. I have this issue, a lot. On my old S2 Skyrocket, S4, N7, and even on my S5 now.

    I noticed that it almost always happens if I try to move the map, or zoom in/out, when data is still being loaded. it never seems to happen if I remember to wait until the data is fully loaded.

    I always use the Google Maps view. I have not tried this on any other map layer.

  30. added a commit that references this issue on Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions