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)
Core
Panning and Zooming
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
Reporter | ||
Comment 1•11 years ago
|
||
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.
Reporter | ||
Comment 2•11 years ago
|
||
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
Comment 3•11 years ago
|
||
It also happens in E-mail - see bug 941215.
Assignee: nobody → botond
blocking-b2g: --- → 1.3+
Reporter | ||
Comment 4•11 years ago
|
||
Let's say this is a duplicate of bug 909877.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 5•11 years ago
|
||
Gasp wrong copy-paste. I was trying to duplicate this bug over bug 941215.
Updated•11 years ago
|
Blocks: gaia-apzc-2
Updated•11 years ago
|
No longer blocks: gaia-apzc-2
You need to log in
before you can comment on or make changes to this bug.
Description
•