Closed
Bug 1263460
Opened 9 years ago
Closed 9 years ago
Fix UI on Long press of empty Yahoo search field
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Firefox for Android Graveyard
Text Selection
Tracking
(firefox48 fixed)
RESOLVED
FIXED
Firefox 48
| Tracking | Status | |
|---|---|---|
| firefox48 | --- | fixed |
People
(Reporter: capella, Assigned: capella)
Details
Attachments
(1 file)
This has been lurking for a while in TextSelection, and it's time to fix.
Inherited from SelectionHandler, the ActionBarHandler._getSelectedText() method does a string trim before returning it's result, producing inconsistencies in UI as evidenced here [0]. The solution looks as here [1].
I'm not aware of any consumers that require the result be trimmed, internally, or externally (by the "TextSelection:Get" message of FindInPageBar for example). If identified later, those should be fixed instead.
[0] https://www.dropbox.com/s/z5myowlfg13z7ud/yahooBug_before.png?dl=0
[1] https://www.dropbox.com/s/v91tnvhbl8hq7u3/yahooBug_after.png?dl=0
| Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/45373/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/45373/
Attachment #8739790 -
Flags: review?(s.kaspari)
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Comment on attachment 8739790 [details]
MozReview Request: Bug 1263460 - Fix UI on Long press of empty Yahoo search field, r=sebastian
https://reviewboard.mozilla.org/r/45373/#review42309
Attachment #8739790 -
Flags: review?(s.kaspari) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
Comment 5•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•