Closed
Bug 821952
Opened 13 years ago
Closed 13 years ago
Firefox doesn't handle touches properly
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: hackwrench1, Unassigned)
Details
Attachments
(1 file)
|
163.30 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Android; Tablet; rv:20.0) Gecko/20.0 Firefox/20.0
Build ID: 20121214030827
Steps to reproduce:
Attempting to scroll down a page results sometimes in Firefox zooming in, sometimes following a hyperlink, sometimes hilighting text. Tapping a hyperlink sometimes triggers it, sometimes not.
Actual results:
Apparently a drag is sometimes being registered as a click and sometimes as two. Sometimes a touch seems to registered as two and furthermore as a zoom too.
Expected results:
Firefox should have a utility to define when it should register the conti uation of a drag as w ll as other touches such as how far away two apparent touches should be before they are registered as a pinch to zoom attempt.
Comment 1•13 years ago
|
||
What device are you seeing this behaviour on?
| Reporter | ||
Comment 2•13 years ago
|
||
Flytouch 10 VC running Android 4.03. A tablet
Comment 3•13 years ago
|
||
I've kicked off a build with additional logging of touch events [1]. Once it is done, there will be an APK in the folder at [2]. If you have some time, please install that APK and try to reproduce the problems you were seeing. Once it happens, grab the logcat (instructions at [3]). The log should include the touch events we receive from the hardware so we should be able to identify if the hardware is sending us bad events or we are processing them improperly and what we can do to mitigate the problem.
Please also make a note of the actual actions you perform with your finger(s) on the screen, so that we can see if it lines up with the touch events in the log. If you are concerned about exposing personal information in the log, you can email it to me directly, or even just look at it yourself - the touch event log information should be fairly self-explanatory. If you see touch-up events being logged when you don't lift your finger then something is definitely going wrong.
[1] https://tbpl.mozilla.org/?tree=Try&rev=3309f7d25559
[2] http://ftp-scl3.mozilla.com/pub/mozilla.org/firefox/try-builds/kgupta@mozilla.com-3309f7d25559/try-android/
[3] https://wiki.mozilla.org/Mobile/Fennec/Android#Using_aLogCat
Comment 4•13 years ago
|
||
Note that the build I linked to above will look like a nightly build (e.g. the icon will say "Nightly" and it will have a package name of "org.mozilla.fennec"). If you already have a regular nightly build installed you can install this over top of that using adb install -r, or if you don't have nightly already installed then you can install this APK alongside whatever (release/beta/aurora) you already have.
| Reporter | ||
Comment 5•13 years ago
|
||
I tappped to open a page and attempted to scroll down the page.
Comment 6•13 years ago
|
||
Thanks! The events in that log seem perfectly sane as far as I can tell. Just to be clear, while you were trying to scroll down the page, you saw the same sort of behaviour you described in comment #0?
| Reporter | ||
Comment 7•13 years ago
|
||
Trying to scroll down the page I remember Firefox attempting to highilight text. I recollect Firefox enlarging the webpageon one of my scrolls though I don't know if it is in the currently provided log, though the log seems rather large. Does the log reset on reboot?
Comment 8•13 years ago
|
||
The log is a fixed size; as new entries are added to the bottom, old entries are dropped from the top. I'll try to reproduce the issues you were seeing by replaying your input events on a test device but I don't really expect that to work.
Comment 9•13 years ago
|
||
So I replayed the input events onto my Galaxy Tab and it seemed to work as expected. At one point I did get a text selection cursor but there was no zooming or any other such behaviour. So basically I'm unable to reproduce the problem you're describing :( Not sure if there's anything we can do here without getting one of those tablets.
Comment 10•13 years ago
|
||
Closing as incomplete unless anybody has any other ideas.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
| Reporter | ||
Comment 11•13 years ago
|
||
I could use a series of test webpages upon which to attempt operations so that we are all working on and events are directed to the same pages.
| Reporter | ||
Comment 12•13 years ago
|
||
So at least there is the problem of the text selection cursor.
Comment 13•13 years ago
|
||
Feel free to try and reproduce the behaviour on http://people.mozilla.com/~kgupta/tmp/long.html - if you can get the weird pinch zooming behaviour there I would be interested in the event trace you have for that. The text selection cursor does pop up if you long-press; there is bug 769049 already on file for that getting triggered too easily and so I'm not as concerned about that.
| Assignee | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•