Closed Bug 1181648 Opened 9 years ago Closed 9 years ago

Sudden jerky pan/translation, when touching screen with second finger, in 3 different mapping apps (TomTom, Google, & Bing Maps)

Categories

(Firefox OS Graveyard :: Gaia::Customizer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dholbert, Unassigned)

References

Details

(Keywords: foxfood)

Attachments

(2 files, 1 obsolete file)

STR: 1. Open TomTom Maps, Google Maps, or Bing Maps. 2. Touch the screen with one finger. (don't remove it) (optional: pan around, to be sure your touch has taken effect) 3. Touch the screen with another finger (e.g. to prepare for a multitouch zoom operation). ACTUAL RESULTS: The map has a sudden translation - the center immediately snaps downwards by an inch or so. EXPECTED RESULTS: No sudden translation. Current Firefox Nightly for Android on a OnePlus One gives me EXPECTED RESULTS (with the Google Maps webapp). My Firefox OS Z3C dogfooding device gives me ACTUAL RESULTS with Google Maps, Here Maps, and TomTom Maps. I'm assuming this is a bug with the touch events being sent by Firefox OS, given that it reproduces on completely different mapping apps, and it doesn't reproduce in Firefox for Android.
Build info from check_versions.py: Build ID 20150707033152 Gaia Revision e6506d68e01489b57616f8b74e8773f938ce62b3 Gaia Date 2015-07-06 18:14:41 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/e271ef4c49ae Gecko Version 42.0a1 Device Name aries Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20150619.015544 Firmware Date Fri Jun 19 01:55:53 UTC 2015 Bootloader s1
Summary: Weird jitter when touching screen with second finger, in 3 different mapping apps (TomTom, Google, & Bing Maps) → Sudden jerky pan/translation, when touching screen with second finger, in 3 different mapping apps (TomTom, Google, & Bing Maps)
FWIW, I get EXPECTED RESULTS when performing the STR on... - a zoomed-in photo in the Gaia "Gallery" app. - a zoomed-in mostly-text web page (planet.m.o) in the Browser app.
Keywords: foxfood
I'm starting to wonder if this is a hardware issue with some devices. I added some logging locally to see what the touch event coordinates look like and I'm having a hard time reproducing the actual problem. Is there anybody who can consistently reproduce any of this glitchy/jumpy zooming behaviour in the mapping apps and is also building their own Gecko? If so I can provide a patch to apply to log the touch events which would provide some useful information.
Attached patch Patch to log touch coordinates (obsolete) (deleted) — Splinter Review
Here's the patch; feel free to apply it and reproduce the problem if you're able to.
(I'm not building my own Gecko, and am reluctant to do so because this is my primary personal phone, FWIW.)
I can reproduce, and I'm willing to build locally with the patch. Waiting on some instructions from :drs to understand the precise build flags needed for the foxfood devices.
Attached patch Patch to log touch coordinates (deleted) — Splinter Review
Thanks. I updated the patch to enable another bit of logging, hopefully it will provide a bit more info if the bug is in our code somewhere.
Attachment #8631621 - Attachment is obsolete: true
:drs, I sent an email already, but if you could share build steps with me to create a foxfood build locally, I can move forward here.
Flags: needinfo?(drs)
For B2G: ./config.sh aries B2G_UPDATER=1 DOGFOOD=1 GAIA_DISTRIBUTION_DIR=distros/spark VARIANT=userdebug ./build.sh For just Gaia: GAIA_DEV_PIXELS_PER_PX=2.25 MOZILLA_OFFICIAL=1 PRODUCTION=1 GAIA_DISTRIBUTION_DIR=distros/spark DOGFOOD=1 make reset-gaia I'll put these instructions up somewhere more accessible for others. I'm leaving my needinfo set for that. Apologies for not replying to your email, I missed it.
QA Whiteboard: [foxfood-triage]
Component: General → Gaia::Feedback
Those of you who can reproduce this problem: can you go to Settings -> Addons, disable customizer (if it is enabled), restart the phone, and see if the issue still occurs?
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #11) > Those of you who can reproduce this problem: can you go to Settings -> > Addons, disable customizer (if it is enabled), restart the phone, and see if > the issue still occurs? Disabling customizer & restarting fixes the issue for me. I tried both google maps & tomtom maps, and they both seem to work as expected.
Thanks! This is almost certainly the same issue as described at https://bugzilla.mozilla.org/show_bug.cgi?id=1186635#c5 then.
Component: Gaia::Feedback → Gaia::Customizer
I can also confirm that disabling Customizer (per comment 11) does fix this bug. (However, it does not help with similar-ish bug 1177229.)
Attached file Aries Touch Event Log (deleted) —
Disabling Customizer does seem to help for me too. I had already captured a log (with Customizer enabled) before seeing the new comments here, so in case it helps, I've attached it here. The y coordinate of the touch points in the log appears to jump around by 100px, so perhaps that's related here. I'm happy to run any other experiments as needed.
We're retiring the Spark distro, so instructions are no longer needed for building it.
Flags: needinfo?(drs)
And in fact this bug is no longer relevant since Customizer is no longer a thing.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: