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
Pinch zoom hangs #257
Comments
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. |
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. |
just for reference, I very occasionally get the 'paused during interaction' using chrome on my desktop PC. |
Once #268 is merged you may like to try a test build to see if this is fixed. |
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. Will keep an eye on the commits for the mobile render limit changes. |
Try using the +/- buttons until pinch zoom is fixed. |
Yup that's what I'll be doing. |
@RabidArts just for the record...does double tap to zoom works for you? |
@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. |
@RabidArts could you please check http://iitcm.code-noobs.org/iitc_pinch_to_zoom_debug5.apk if it fixes your pinch2zoom bug? |
@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. Struggling to get the buttons to work too. @leCradle Unfortunately double tap also won't work. |
@RabidArts portals disappear? With google layers too? Can you test some builds on http://iitcm.code-noobs.org ? |
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? |
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 |
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. |
Please see my test results shared here In short, all versions exhibit the same problem on this phone, as far back as I can test. |
@RabidArts Thanks for all the testing. Can you please also try the map here: I'm curious if it exhibits the same/similar symptoms. |
Happy to help :-)
|
@RabidArts Can you please try this APK https://www.dropbox.com/s/lbuf1bodqemihfs/WebViewNote2Test.apk It's simply displaying http://leafletjs.com/examples/mobile-example.html in a basic WebView with Javascript enabled. If that works then it's something that's being done in IITC somewhere that's breaking it. If that doesn't work then the issue is in WebView/Leaflet and therefore out of our control. Thanks in advance. |
Actually I managed to get my brother to test the above and another attempted workaround but both failed. We'll just have to hope it eventually gets a fix in Leaflet. @leCradle @jonatkins It's up to you guys but I'd suggest marking this as Won't Fix. :( |
I tried to install the test apk but I get 'cannot parse package' I believe there are 2 issues : For #1 can someone report it to them? Thanks everyone! Edit: nevermind... somehow didn't see that ticket On 25 May 2013 07:57, "Jon" notifications@github.com wrote:
|
Well...we need a dev who
oh @RabidArts can you do one more check? |
I turned off all overlay layers, but no change in behaviour.. tried I happen to be a developer, so can take a stab at setting up my system to
|
I can definitely reproduce this on my Nexus 4 and other devices. My dev environment is set up as well. @leCradle Do we have a known good commit that I can use with git bisect? |
@markfguerra odd. I have a Nexus4 too and have no problems so far...but thx for your help! |
@leCradle are you in a major metro area? Just a hunch, but it seems to happen when there are a lot of portals around. |
Also interesting... I'm with a friend and his note 2 works fine with the
|
@markfguerra |
@RabidArts thx for the hint. |
@leCradle As of yesterday I was one of those people who had those hanging issues, even while zoomed in to an area of low portal density. When I ran using 0391670, I had to remove the app via the Android GUI due to the INSTALL_FAILED_VERSION_DOWNGRADE error. I then launched and logged in again with my google account. The app worked smoothly at 0391670, with some small lags that didn't seem related to the main issue. I was convinced this was a good version to use with bisect. I went on to re-test with the version I last used in the field, b05554e. I noticed that, after re-install, even b05554e was working fairly well. That's really odd, because when I was playing last night IITC was barely usable. It's possible that clearing the app's data by the reinstall affected the outcome of the test. I can still trigger the issue sometimes but not as easily or reliably as yesterday. At that time, nearly every pinch, and even sometimes panning the map, resulted in a hang. |
Interestingly I just had the issue on my Nexus 7 and I uninstalled and reinstalled the app and it started working again. Very strange. Perhaps there are multiple issues with a similar symptom. |
I started experiencing the issue again after a few days using it in the field. To diagnose, I terminated the app using the Android task switcher and used the Android app management GUI to clear the cache for IITC. There was no effect; the app was still unresponsive. I then used the same GUI to clear all application data for IITC, requiring me to login again to use the map. This, for the time being, mitigated the issue; scrolling and pinch zooming became responsive again. |
Quicky update from a Galaxy Tab 7.0 user (gt-p6200) with android 4.1.2 stock rom: |
@helllo thanks for the info. Best part of it is, that we didn't do anything against this issue (or did we?)...magic woohoo...^^ |
@leCradle I did update Leaflet a week or so ago - might have helped? |
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." |
Zoom still don't work on my Note II with stock rom. Not really a solution:
But I can use IITC on my phone. :) |
@jonatkins I don't get his point. Can anyone confirm this location-pinch2zoom coherence? |
@Scavanger this is really interesting. How did you convert the script? |
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:
You can find the source code and the compiled addon (xpi file) here: https://github.com/Scavanger/IITCFirefoxAddOn |
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. |
Thank you @nathanstretch! I've been having this issue for months and turning show use location did fix the issue. |
I've been having the pinch/zoom problem also, on a Samsung Galaxy S2, AOKP. (Android browser installed, Chrome not installed.) I noticed that...
|
FYI issue is reported to leaflet, but ignored until now Leaflet/Leaflet#1759 |
As written in #636 I have problems with zooming in/out on my nex5 on Android 4.4 The map freezes on "map: pause" |
- Android login is disabled now - issue iitc-project#90 is closed - mention issue iitc-project#257
Check this out pls: Leaflet/Leaflet#2693 (comment) |
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. |
IITC-Mobile: fix some bugs in plugins handling - allow tab as separator in metadata block - do not update plugin to random html returned on 404. (more to fix in iitc-project#257) Fix iitc-project#210
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.
The text was updated successfully, but these errors were encountered: