Closed
Bug 586247
Opened 14 years ago
Closed 5 years ago
Fennec smart tapping region should be dynamic according to finger touch region
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ilkka.otsala, Unassigned)
References
Details
Attachments
(2 files)
7.45 KB,
patch
|
Details | Diff | Splinter Review | |
2.70 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/8.04 (hardy) Firefox/3.6.8 Build Identifier: Mozilla/5.0 (X11; Linux armv7I; rv:2.0b3pre) Gecko/20100727 Firefox/4.0b3pre Fennec/2.0a1pre If the user taps on screen with large area of finger the the tapping rectangle should be also larger. Reproducible: Always Steps to Reproduce: 1. Have a Fennec running on device with web page containing e.g. one link 2. Tap on screen so that large area of screen gets covered by finger and the link is located near the edge of tapping area Actual Results: Link doesn't get activated. Expected Results: Link should get activated if it gets under the finger. Smart tapping rectangle is currently static and the area that finger covers has no effect on tapping. Making tapping region dynamic according to touch rect, selecting links gets easier.
Reporter | ||
Comment 1•14 years ago
|
||
This patch contains the QT version of fetching the size of touch region and setting the values to browser.ui.touch.dyn.* preferences where Fennec can easily read those.
Attachment #465580 -
Flags: review?(mark.finkle)
Reporter | ||
Comment 2•14 years ago
|
||
This patch contains the using of dynamic smart tapping rectangle instead of static one. The dynamic version can be disabled by setting the browser.ui.touch.dyn.size to zero in preferences.
Attachment #465582 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•14 years ago
|
||
Ilkka, can we get a testcase for your scenario? I'm having a difficult time confirming this bug.
Comment 4•14 years ago
|
||
Is the fix only for qt?
Reporter | ||
Comment 5•14 years ago
|
||
(In reply to comment #3) > Ilkka, can we get a testcase for your scenario? I'm having a difficult time > confirming this bug. This is an enhancement to smart tapping functionality. The basic idea of smart tapping is described in http://starkravingfinkle.org/blog/2010/05/smart-tapping-in-mobile-firefox/ Currently the smart tapping area is static, and this enhancement makes it dynamic so that if the finger covers larger area, the smart tapping area is also larger. (In reply to comment #4) > Is the fix only for qt? Yes, this patch contains only fix for QT.
Updated•14 years ago
|
Updated•14 years ago
|
Attachment #465580 -
Flags: review?(mark.finkle) → review?(romaxa)
Comment 6•14 years ago
|
||
I really not sure about this patch and way of determining touch rectangle using pref set.... Also we have pressure value for dom event. see http://mxr.mozilla.org/mozilla-central/source/widget/src/gtk2/nsWindow.cpp#2659 see http://mxr.mozilla.org/mozilla-central/source/widget/src/gtk2/nsWindow.cpp#2712 You can store pressure value there also we have layout API for getting list of nodes from rect: https://bugzilla.mozilla.org/show_bug.cgi?id=489127
Updated•14 years ago
|
tracking-fennec: --- → ?
Comment 7•14 years ago
|
||
Comment on attachment 465580 [details] [diff] [review] Fix proposal for xulrunner I think we should create new fix according to 586247#c6
Attachment #465580 -
Flags: review?(romaxa)
Updated•13 years ago
|
Whiteboard: [fennec-4.1?]
Updated•13 years ago
|
tracking-fennec: - → 7+
Whiteboard: [fennec-4.1?]
Updated•13 years ago
|
tracking-fennec: 7+ → ---
Updated•12 years ago
|
Attachment #465582 -
Flags: review?(mark.finkle)
Comment 9•5 years ago
|
||
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•