SpannableStringBuilder SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length

NEW
Unassigned

Status

()

4 years ago
2 months ago

People

(Reporter: rnewman, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox41 affected)

Details

(Reporter)

Description

4 years ago
* Tap URL bar.
* Enter one character, or delete the only character.
* This error appears.
(Reporter)

Comment 1

4 years ago
I can't get a stack off the device without a lot of pain, but I'm guessing this is the culprit, in ToolbarEditText.java.

            // Mark added text as autocomplete text.
            for (final Object span : mAutoCompleteSpans) {
                text.setSpan(span, textLength, resultLength, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
            }

In case it makes a difference, I'm using SwiftKey.

Maybe a good mentor bug for you, mcomella?
I can only repro w/ SwiftKey – I wonder if it's something we should worry about?
(In reply to Richard Newman [:rnewman] from comment #0)
> * This error appears.

To be explicit, this is logcat output.
You need to log in before you can comment on or make changes to this bug.