Closed
Bug 857907
Opened 11 years ago
Closed 6 years ago
Rapid typing "clogs up" text entry, adding characters to input field in batches instead of individually.
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect, P3)
Tracking
(tracking-b2g:backlog)
RESOLVED
WONTFIX
tracking-b2g | backlog |
People
(Reporter: jcarpenter, Unassigned)
References
Details
(Keywords: perf, Whiteboard: [c= p=5 s= u=] ux-tracking)
Per the description, we seem to have an issue wherein rapid text entry starts to "clog up" (highly technical term!) the rendering of selected keys to the input field. Instead of appearing one-by-one, they are rendered in batches, starting with two, but increasing to ten or more as the user types faster and faster. This video shot using the 1.1.0 3/30 build shows the phenomenon at it's worst (see the Stress Test segment at the end). https://www.dropbox.com/s/0785zq5ijfznug8/FFOS_KeyboardCompAnalysis_20130331.zip Expected: keys should render individually to the input field; never in batches.
Reporter | ||
Comment 1•11 years ago
|
||
Related to bug #827811, which is about hitting 140ms target for entry of text characters to input field after keyboard key touch end.
Updated•11 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Updated•11 years ago
|
Whiteboard: u=user c=keyboard s=ux-most-wanted → ux-tracking
Updated•11 years ago
|
Whiteboard: ux-tracking → c= ux-tracking
Updated•11 years ago
|
Updated•11 years ago
|
Assignee: nobody → hub
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 3•11 years ago
|
||
Josh, I can't find the video. Dropbox say it can't be found. You should be able to attach it (I hope it is not too big) to bugzilla.
Flags: needinfo?(jcarpenter)
Updated•11 years ago
|
Whiteboard: c= , ux-tracking → [c= p=3] ux-tracking
Updated•11 years ago
|
Whiteboard: [c= p=3] ux-tracking → [c= p=5] ux-tracking
Updated•11 years ago
|
Assignee: hub → nobody
Comment 4•11 years ago
|
||
A video is attached to https://bugzilla.mozilla.org/show_bug.cgi?id=907093
Updated•11 years ago
|
Blocks: 1.3-keyboard
Reporter | ||
Comment 5•11 years ago
|
||
(In reply to Hubert Figuiere [:hub] from comment #3) > Josh, > > I can't find the video. Dropbox say it can't be found. > > You should be able to attach it (I hope it is not too big) to bugzilla. Sure thing: the full march 2013 video is here: https://mozilla.box.com/s/xocnmde87yt9c5uztv3a
Flags: needinfo?(jcarpenter)
Updated•11 years ago
|
Priority: -- → P3
Whiteboard: [c= p=5] ux-tracking → [c= p=5 s= u=] ux-tracking
Updated•11 years ago
|
Assignee: janjongboom → nobody
Updated•11 years ago
|
Status: ASSIGNED → NEW
Comment 10•11 years ago
|
||
With Jan's help, we have a testing dump log and node script to analyze the round trip between keyboard app invoking sendKey() and the content receiving the keyup event. https://github.com/RudyLu/gaia/commits/keyboard/profile_sendKey Usage: 1. Apply the last patch of the above branch. 2. > adb logcat -c && rm -rf analyze-trace.input && adb logcat > analyze-trace.input 3. Start to type on the keyboard while using "UI Test App" > UI > Keyboard. 4. Run this node script to make some data out of it (analyze-trace.js) Here is my test result with Gaia master on buri, -- Total: 91 events Min: 17 ms Max: 93 ms Avg: 40 ms Jan, I hope you don't mind I put the testing code here, so that we could sync up on this issue. As you could see from my test result, which took much less time than you said (about 150ms - 300ms), right?
Flags: needinfo?(janjongboom)
Comment 11•11 years ago
|
||
And this is the result I logged form Tarako, which seems much much worse than buri, Total: 50 events Min: 86 ms Max: 2695 ms Avg: 936 ms Note: this is with suggestion on.
Comment 12•11 years ago
|
||
Yep, with the reflow patches that got uplifted to 1.3t it is a lot better on inputs without suggestions. However, it still reflows on special keys. With autosuggest on we basically reflow at least 3 times per keystroke so no wonder it goes completely mental on Tarako. Can you run the same run (with suggestions on) on Tarako with the patch in https://bugzilla.mozilla.org/show_bug.cgi?id=982269?
Flags: needinfo?(janjongboom) → needinfo?(rlu)
Comment 13•11 years ago
|
||
Here is the result with the patch in bug 982269, on Tarako, -- Total: 45 events Min: 43 ms Max: 1533 ms Avg: 594 ms Much better, but still have Max > 1.5 s.
Flags: needinfo?(rlu)
Comment 14•11 years ago
|
||
Ah, maybe comment 13 does have the value to be referenced, since I found the latency has a great variance, and this depends on the typing speed. If you type really fast, the delay could be more thand 3 - 5 seconds...
Comment 15•11 years ago
|
||
(In reply to Rudy Lu [:rudyl] from comment #14) > Ah, maybe comment 13 does have the value to be referenced, since I found the Obviously, I mean does *not* have the > latency has a great variance, and this depends on the typing speed. > If you type really fast, the delay could be more thand 3 - 5 seconds...
Comment 16•11 years ago
|
||
I pushed some changes to that branch, all sync reflows should be gone now. Can you re-run? (yay for timezone differences)
Flags: needinfo?(rlu)
Updated•10 years ago
|
Flags: needinfo?(rlu)
Updated•10 years ago
|
Updated•10 years ago
|
Updated•10 years ago
|
blocking-b2g: --- → backlog
Assignee | ||
Updated•9 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Comment 17•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•