{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/MozStumbler/issues/1728","labels_url":"https://api.github.com/repos/mozilla/MozStumbler/issues/1728/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/MozStumbler/issues/1728/comments","events_url":"https://api.github.com/repos/mozilla/MozStumbler/issues/1728/events","html_url":"https://github.com/mozilla/MozStumbler/pull/1728","id":110801637,"number":1728,"title":"Fix zoom","user":{"login":"cascheberg","id":3845150,"avatar_url":"https://avatars.githubusercontent.com/u/3845150?v=3","gravatar_id":"","url":"https://api.github.com/users/cascheberg","html_url":"https://github.com/cascheberg","followers_url":"https://api.github.com/users/cascheberg/followers","following_url":"https://api.github.com/users/cascheberg/following{/other_user}","gists_url":"https://api.github.com/users/cascheberg/gists{/gist_id}","starred_url":"https://api.github.com/users/cascheberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cascheberg/subscriptions","organizations_url":"https://api.github.com/users/cascheberg/orgs","repos_url":"https://api.github.com/users/cascheberg/repos","events_url":"https://api.github.com/users/cascheberg/events{/privacy}","received_events_url":"https://api.github.com/users/cascheberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-10T15:46:38Z","updated_at":"2015-10-14T18:45:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/MozStumbler/pulls/1728","html_url":"https://github.com/mozilla/MozStumbler/pull/1728","diff_url":"https://github.com/mozilla/MozStumbler/pull/1728.diff","patch_url":"https://github.com/mozilla/MozStumbler/pull/1728.patch"},"body":"In some cases, especially when using pinch to zoom, the coverage overlay mode is not updated.\r\n\r\nThere is a `MapListener` in [MapFragment.java#L171](https://github.com/mozilla/MozStumbler/blob/dev/android/src/main/java/org/mozilla/mozstumbler/client/mapview/MapFragment.java#L171) to trigger `updateOverlayCoverageLayer`. \r\nBut the `DelayedMapListener` will sometimes cancel a zoom event when dispatching a scroll event. So as a result the zoom listener will not run.\r\n\r\nUsing separate `Runnables` in `DelayedMapListener` fixes the problem.\r\n\r\nNot using `DelayedMapListener` also fixes the problem, but I do not know if that is somehow otherwise problematic. The code was introduced in d8e1faae9f88c269d41fd759d561b42789fa192f. "},"comment":{"url":"https://api.github.com/repos/mozilla/MozStumbler/issues/comments/148153361","html_url":"https://github.com/mozilla/MozStumbler/pull/1728#issuecomment-148153361","issue_url":"https://api.github.com/repos/mozilla/MozStumbler/issues/1728","id":148153361,"user":{"login":"crankycoder","id":4829,"avatar_url":"https://avatars.githubusercontent.com/u/4829?v=3","gravatar_id":"","url":"https://api.github.com/users/crankycoder","html_url":"https://github.com/crankycoder","followers_url":"https://api.github.com/users/crankycoder/followers","following_url":"https://api.github.com/users/crankycoder/following{/other_user}","gists_url":"https://api.github.com/users/crankycoder/gists{/gist_id}","starred_url":"https://api.github.com/users/crankycoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crankycoder/subscriptions","organizations_url":"https://api.github.com/users/crankycoder/orgs","repos_url":"https://api.github.com/users/crankycoder/repos","events_url":"https://api.github.com/users/crankycoder/events{/privacy}","received_events_url":"https://api.github.com/users/crankycoder/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T18:45:06Z","updated_at":"2015-10-14T18:45:06Z","body":"Nice catch @cascheberg !  "}}