Closed Bug 919598 Opened 12 years ago Closed 11 years ago

too-long autocomplete hangs swiftkey & fennec

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

ARM
Android
defect
Not set
normal

Tracking

(fennec+)

RESOLVED WORKSFORME
Tracking Status
fennec + ---

People

(Reporter: vlad, Assigned: jchen)

Details

(Keywords: regression, reproducible)

with a 2013-09-23 nightly (and earlier), on a 2013 Nexus 7 with the latest SwiftKey installed... if the searching/displaying results as you type takes a long time, the whole world hangs as you're typing in. http://vice.janicek.co/x64/ is a good source of long URLs (click on Demos, click on some of the demos, ignore the crash), since they embed a good chunk of data in the URL.
With SwiftKey W/InputConnectionWrapper.ICC( 2532): Timed out waiting on IInputContextCallback I/InputConnectionWrapper.ICC( 2532): Got out-of-sequence callback 615 (expected 616) in setExtractedText, ignoring. I/InputDispatcher( 513): Window 'Window{427497e0 u0 InputMethod}' spent 2667.9ms processing the last input event: MotionEvent(action=1, deviceId=6, source=0x00001002, displayId=0) W/InputConnectionWrapper.ICC( 2532): Timed out waiting on IInputContextCallback I/InputConnectionWrapper.ICC( 2532): Got out-of-sequence callback 621 (expected 622) in setExtractedText, ignoring. I/Choreographer( 2532): Skipped 347 frames! The application may be doing too much work on its main thread. I/Choreographer( 2532): Skipped 118 frames! The application may be doing too much work on its main thread. I/Choreographer( 2532): Skipped 59 frames! The application may be doing too much work on its main thread. W/InputConnectionWrapper.ICC( 2532): Timed out waiting on IInputContextCallback I/InputConnectionWrapper.ICC( 2532): Got out-of-sequence callback 658 (expected 659) in setExtractedText, ignoring. I/InputDispatcher( 513): Window 'Window{427497e0 u0 InputMethod}' spent 3062.7ms processing the last input event: MotionEvent(action=1, deviceId=6, source=0x00001002, displayId=0) I/Choreographer( 2532): Skipped 358 frames! The application may be doing too much work on its main thread. E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length E/SpannableStringBuilder( 3063): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length With Google Keyboard, no output but just as slow. I think we have a regression with the matched URLs coming back with those long URLs.
Keywords: reproducible
tracking-fennec: --- → ?
Keywords: regression
I think it's just that the URL is really long. I see hangs in Chrome too on that site. Maybe we can limit the URL bar text to a certain length.
It's not the length in the URL bar that's the problem; it's, theoretically, the display of the long urls in the results, or querying them. So limiting the URL bar text to a certain length might not do anything, but limiting the URL display length in the awesomescreen results to something reasonable for the display size of the device might help. But again, I'm just guessing as to the cause of the slowness.
Assignee: nobody → nchen
tracking-fennec: ? → +
Hey Vladimir, Do you still see this? The Bug 953288 landed so I think this might have been improved too. Thanks!
Flags: needinfo?(vladimir)
I haven't seen this in a while, so probably fixed.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(vladimir)
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.