Closed Bug 1161653 Opened 9 years ago Closed 7 years ago

[Text Selection] Text selection carets disappear on highlighted word when keyboard is dismissed


(Core :: DOM: Selection, defect)

Gonk (Firefox OS)
Not set



blocking-b2g -
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected


(Reporter: bzumwalt, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [3.0-Daily-Testing])


(1 file)

Attached image Screenshot
When user has one section or all text highlighted in an input field, long pressing the spacebar to dismiss the keyboard keeps text highlighted, but causes the text selection carets to disappear. This reproduces on all input fields including those in email and messages apps.

Repro Steps:
1) Update a Flame to 20150505010204
2) Launch Messages app
3) Tap to compose new message
4) Type some text in the message body then long press text to highlight
5) Long press spacebar to dismiss keyboard

Text remains highlighted, but text selection carets disappear.

Text selection carets remain on screen and text remains highlighted after user dismisses keyboard.

Environmental Variables:
Device: Flame 3.0 Master
Build ID: 20150505010204
Gaia: 70077825aab2c7a79611befb40a5fe7e610d5443
Gecko: 102d0e9aa9e1
Gonk: a9f3f8fb8b0844724de32426b7bcc4e6dc4fa2ed
Version: 40.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:40.0) Gecko/40.0 Firefox/40.0

Repro frequency: 3/3, 100%
See attached: screenshot
Issue DOES reproduce in Flame 2.2

With text selected, dismissing keyboard causes text to remain highlighted, but text selection carets disappear.

Device: Flame 2.2
Build ID: 20150505002501
Gaia: 772a9491909abd02dc67278dd453746e2dd358a8
Gecko: 2df83538ae20
Gonk: ab265fb203390c70b8f2a054f38cf4b2f2dad70a
Version: 37.0 (2.2)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

Text selection feature did not exist in 2.1, unable to test
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Gerry, can you take a look at this please?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker) → needinfo?(gchang)
NI UX to see if this is as expected.
Hi Omega,
Not sure if this is an expected behavior.
Flags: needinfo?(gchang) → needinfo?(ofeng)
According to the spec, the expected behavior is: When dismissing the keyboard, the selected text should be deselected and the focus should blur from the input.
Flags: needinfo?(ofeng)
Component: Gaia::System → Selection
Product: Firefox OS → Core
blocking-b2g: --- → 2.2?
Not blocking, there's no feature broken, UI polish.
blocking-b2g: 2.2? → -
I don't feel we need to fix B2G bugs in a foreseeable future.
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.