Closed
Bug 833983
Opened 10 years ago
Closed 10 years ago
Extremely hard to focus contact input fields
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(blocking-b2g:tef+, firefox19 wontfix, firefox20 wontfix, firefox21 fixed, b2g18 verified, b2g18-v1.0.0 fixed, b2g18-v1.0.1 verified)
People
(Reporter: cjones, Assigned: cjones)
References
Details
(Keywords: regression, Whiteboard: DUPEME, [MZ])
Attachments
(1 file)
821 bytes,
patch
|
schien
:
review+
|
Details | Diff | Splinter Review |
STR (1) Open contacts app (2) Tap "+" to add new contact (3) Try to focus any of the input fields It takes me 3 or 4 tries. Something we obviously want to work ...
Updated•10 years ago
|
Comment 1•10 years ago
|
||
More STR: 1. add a new contact 2. switch focus between company and phone fields 10 times, and stop sit back and watch keyboard open and close repeatedly for 20 seconds
Assignee | ||
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Comment 2•10 years ago
|
||
Hi all, I could not reproduce what Chris mentioned in Comment 0 (hard to focus) with PVT build: Build ID - 20130123070202. For what Dietrich mentioned in Comment 1, I think it is more or less the same issue as Bug 819593 - Keyboard flickers close then open when tapping from one input element to another. Mark qawanted to get some helps to reproduce it.
Keywords: qawanted
Comment 3•10 years ago
|
||
Hi, Chris Jones, Can you provide your version of B2G code and kernel version please? Touch related issues are highly reproducible when B2G gaia code doesn't get renewed. Also, kernel might matter a little bit. I can't reproduce it in pvt b2g18 2013-01-23 build. Hi, Dietrich Ayala, I can reproduct ur STR. However, it is obviously that your STR is not the same bug as the original bug. If possible, please refile a bug. That would help us to separate issues/bugs.
Flags: needinfo?(jones.chris.g)
Flags: needinfo?(dietrich)
Updated•10 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Assignee | ||
Comment 4•10 years ago
|
||
otoro http://git.mozilla.org/?p=releases/gecko.git;a=commit;h=16ab71950a3d1210f7fdacec51015b86d8cd1955 http://git.mozilla.org/?p=releases/gaia.git;a=commit;h=7fdd1dd731ccdcf09e0c51aeefc361adc4bfc11a
Flags: needinfo?(jones.chris.g)
Comment 5•10 years ago
|
||
Hi all, I still could not reproduce this issue with the same rev. info as Comment 4 on Otoro. Hi Chris, Might be a stupid question, is it possible that you triggered scrolling (horizontally) or something instead of click event? BTW, the keyboard app code is there unchanged for a while. So, I might not be the right person to look into this.
Assignee: rlu → nobody
Assignee | ||
Comment 6•10 years ago
|
||
If I triggered any scrolling logic, the UI didn't change in response.
Comment 7•10 years ago
|
||
Going to renom - we don't have enough info to go forward.
blocking-b2g: tef+ → tef?
Assignee | ||
Comment 9•10 years ago
|
||
I'm still able to reproduce this following https://wiki.mozilla.org/B2G/Memory_acceptance_criteria#MW2:_Active_call_stays_active ...
Comment 10•10 years ago
|
||
Still hard to reproduce for me in the STR stated. Hope other QAs can help with this.
Comment 12•10 years ago
|
||
Hmm...so the dupe implies someone can reproduce this. Walter - Does the dupe give any insight into reproducing this bug?
Comment 13•10 years ago
|
||
I retried several times. Also, I tried with Chris's STR. However, I don't know how to reproduce it. Jason, can you try to reproduce it?
Comment 14•10 years ago
|
||
Additional information... The bug also occurred in new inari phone.
Assignee | ||
Comment 15•10 years ago
|
||
The fact that we only see this intermittently makes me think bug 829234 might be the problem. However, bug 829234 has been a problem "forever" (AFAIK), and the focusability of inputs seems to have regressed in the last few weeks/month.
Depends on: 829234
![]() |
||
Updated•10 years ago
|
Whiteboard: DUPEME → DUPEME, [MZ]
Comment 16•10 years ago
|
||
Hi all, It seems this issue depends on if the page is scrollable. 1. Can reproduce, if the page is scrollable. - Create a new contact in Contact App. - Keyboard test page in UI Test app. 2. Cannot reproduce when the page that contains the input is not scrollable - Add a new event Calendar app - Start a new message in SMS app I added a simple test case to UI test app to double confirm, You may get the test case with: git pull https://github.com/RudyLu/gaia focus/Bug833983-input-hardTofocus -- BTW, this issue can be reproduced with HEAD rev. of Gecko-18 branch on Otoro, Gecko: http://git.mozilla.org/?p=releases/gecko.git;a=commit;h=e2abfafb7d88df1ed6bf8bcfedb4b0a5dafb7313 Gaia: the latest, should not be relevant to this issue
Assignee | ||
Comment 17•10 years ago
|
||
Interesting, thanks for investigating! This makes me think bug 829234 is more likely, since in BrowserElementScrolling we only check if the user is trying to pan if there are scrollable elements on the page.
Assignee | ||
Comment 18•10 years ago
|
||
Bug 828367 regressed this.
Assignee | ||
Comment 19•10 years ago
|
||
SC, do you remember why the preventDefault() is needed here? http://hg.mozilla.org/mozilla-central/rev/cae4668deecd#l1.15 That's what's cancelling the tap. I don't believe it's necessary, but checking ...
Flags: needinfo?(schien)
Assignee | ||
Comment 20•10 years ago
|
||
Let's move things along a bit more with a review request. This doesn't regress the STR in bug 828367.
Attachment #711085 -
Flags: review?(schien)
Flags: needinfo?(schien)
Comment 21•10 years ago
|
||
Can we get this tef+ 'd? this patch will fix a bunch of touch issues that we're testing against the Inari for MWC demos.
blocking-b2g: - → tef?
Comment 29•10 years ago
|
||
removing qawanted, as this was clearly a visible issue on the Inari phones.
Keywords: qawanted
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Comment 30•10 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #19) > SC, do you remember why the preventDefault() is needed here? > > http://hg.mozilla.org/mozilla-central/rev/cae4668deecd#l1.15 > > That's what's cancelling the tap. I don't believe it's necessary, but > checking ... PreventDefault() in here is to prevent APZC entering TOUCHING state before BES hand over the scrolling action back to APZC. http://dxr.mozilla.org/mozilla-central/gfx/layers/ipc/AsyncPanZoomController.cpp.html#l1436 If we remove this preventDefault(), we'll not be able to scroll slowly on a subframe. I'll put my full attention on this bug today and find out why this preventDefault() don't cause tap problem on m-c.
Assignee | ||
Comment 31•10 years ago
|
||
I thought APZC only honored preventDefault() on touchstart events. (That was the original intention, anyway.)
Comment 33•10 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #31) > I thought APZC only honored preventDefault() on touchstart events. (That > was the original intention, anyway.) In the subframe scrolling detection scenario, touch events are queued from touchmove and it'll depends on the preventDefault information on touchmove events.
Assignee | ||
Comment 34•10 years ago
|
||
I'm not following that :). But if you're investigating today, happy to see what you find.
Updated•10 years ago
|
blocking-b2g: tef? → tef+
Comment 35•10 years ago
|
||
Comment on attachment 711085 [details] [diff] [review] Don't preventDefault() drags that aren't quite pans Review of attachment 711085 [details] [diff] [review]: ----------------------------------------------------------------- @cjones, you're right. This preventDefault() doesn't help on the scenario I described in comment 30 but causes trouble. Let's remove this buggy code.
Attachment #711085 -
Flags: review?(schien) → review+
Assignee | ||
Comment 36•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a2f6b878f6e
Comment 37•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4a2f6b878f6e
Assignee: nobody → jones.chris.g
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 38•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/8db83d7f5ba5 https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_0/rev/30c2a2b5ec66
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → fixed
status-firefox19:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → fixed
Target Milestone: --- → B2G C4 (2jan on)
Comment 40•10 years ago
|
||
Unagi Build: 20130322070202 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/5aacf880400b Gaia: 5a31a56b96a8fc559232d35dabf20411b9c2ca1d Kernel: Dec 5th In the Unagi build above, I've verified that the fields described with the issue gain and lose focus just fine in Contacts. I'm able to switch fast or tap anywhere in the field for it to gain focus. Marking as Verified Fixed.
Status: RESOLVED → VERIFIED
status-b2g18-v1.0.1:
--- → verified
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•