Closed Bug 942760 Opened 11 years ago Closed 11 years ago

Click target seems off by a few hundred pixels

Categories

(Core :: Panning and Zooming, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 941215
blocking-b2g 1.3+

People

(Reporter: vingtetun, Assigned: botond)

References

Details

With APZ turned on the clicks target are sometimes off into some Gaia apps. Steps to reproduce: - Open the Settings app - pan to the bottom of the main panel - try to click on 'Help' Expected result: - The 'Help' panel is opened Actual result: - Nothing happens. I need to click the 'USB Storage panel' to open the 'Help' panel
hmm. Seems like I can't repro anymore with <meta name="viewport" content="width=device-width, height=device-height, minimum-scale=1, initial-scale=1">. Not sure why.
Seems like I was too optimist. It still happens in the settings app. Not sure if this is related but I sometimes see some crazy values in the contacts app for the touchY property. For example if I add a |dump('type: ' + e.type + " X: " + touch.pageX + 'Y: ' + e.touch.pageY);| at https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/js/contacts_shortcuts.js#L46 I see strange values sometimes for touchY: I/GeckoDump( 7029): evt.type= touchstart 309 : 231 I/GeckoDump( 7029): evt.type= touchmove 309 : 251 I/GeckoDump( 7029): evt.type= touchmove 305 : 296 I/GeckoDump( 7029): evt.type= touchmove 305 : -7039 E/GeckoConsole( 7029): [JavaScript Error: "TypeError: getTarget(...) is null" {file: "app://communications.gaiamobile.org/contacts/js/contacts_shortcuts.js" line: 136}] I/GeckoDump( 7029): evt.type= touchmove 305 : 343 I/GeckoDump( 7029): evt.type= touchmove 305 : -10577 E/GeckoConsole( 7029): [JavaScript Error: "TypeError: getTarget(...) is null" {file: "app://communications.gaiamobile.org/contacts/js/contacts_shortcuts.js" line: 136}] I/GeckoDump( 7029): evt.type= touchmove 305 : 398 I/GeckoDump( 7029): evt.type= touchmove 305 : -14504 E/GeckoConsole( 7029): [JavaScript Error: "TypeError: getTarget(...) is null" {file: "app://communications.gaiamobile.org/contacts/js/contacts_shortcuts.js" line: 136}] I/GeckoDump( 7029): evt.type= touchmove 305 : 368 I/GeckoDump( 7029): evt.type= touchmove 301 : 351
It also happens in E-mail - see bug 941215.
Assignee: nobody → botond
blocking-b2g: --- → 1.3+
Let's say this is a duplicate of bug 909877.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Gasp wrong copy-paste. I was trying to duplicate this bug over bug 941215.
You need to log in before you can comment on or make changes to this bug.