Closed Bug 1174482 Opened 9 years ago Closed 3 years ago

SpannableStringBuilder SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox41 --- affected

People

(Reporter: rnewman, Unassigned)

Details

* Tap URL bar.
* Enter one character, or delete the only character.
* This error appears.
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.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.