Closed
Bug 1071738
Opened 9 years ago
Closed 9 years ago
Form autocomplete dialog can take up the entire screen and make it really hard to use fennec
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox33 affected, firefox34 affected, firefox35 verified, fennec+)
RESOLVED
FIXED
Firefox 35
People
(Reporter: kats, Assigned: mfinkle)
References
Details
Attachments
(4 files)
61.13 KB,
image/png
|
Details | |
2.95 KB,
patch
|
bnicholson
:
review+
|
Details | Diff | Splinter Review |
68.92 KB,
image/png
|
Details | |
7.44 KB,
patch
|
bnicholson
:
review+
|
Details | Diff | Splinter Review |
I have a bugmail dashboard with a search field that I use often. Over time, the search field form history has built up and now whenever I put focus into it I get an autocomplete dialog that takes up the entire screen. It's impossible to get rid of because I can't tap anywhere else to remove focus from the field. Hitting the back button makes me go back. I have to tap on the dialog but that inserts the text into the field. If I backspace to clear the text the dialog comes back.
Assignee | ||
Comment 1•9 years ago
|
||
We could look into making the list scrollable, or we could just limit the number of items displayed. As you type the list would filter and you could zero in on the item you want. I kind lean toward the latter because I am not big on making huge lists of scrollable items. It's bad UX and bad for memory.
Reporter | ||
Comment 2•9 years ago
|
||
The list is actually already scrollable, and does filter as you type. I think the height just needs to be clamped more.
Comment 3•9 years ago
|
||
We should be smarter in what we show too, it seems like we're showing anything and everything ever recorded.
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #3) > We should be smarter in what we show too, it seems like we're showing > anything and everything ever recorded. It should only be showing things saved for <input> boxes with the same name as the bugzilla <input>
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mark.finkle
tracking-fennec: ? → +
Assignee | ||
Comment 5•9 years ago
|
||
This patch simply limits the number of rows displayed to 5. You can still scroll through the list.
Attachment #8496651 -
Flags: review?(bnicholson)
Assignee | ||
Comment 6•9 years ago
|
||
Screenie
Assignee | ||
Comment 7•9 years ago
|
||
Just some minor formatting cleanup
Attachment #8496666 -
Flags: review?(bnicholson)
Updated•9 years ago
|
Attachment #8496666 -
Flags: review?(bnicholson) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8496651 [details] [diff] [review] formfill-size v0.1 Review of attachment 8496651 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/FormAssistPopup.java @@ +59,5 @@ > VALIDATIONMESSAGE; > } > private PopupType mPopupType; > > + static final int MAX_VISIBLE_ROWS = 5; private
Attachment #8496651 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/1372b8919331 https://hg.mozilla.org/integration/fx-team/rev/ba4b4066c0fe
Comment 10•9 years ago
|
||
Backed out for Android crashes. https://hg.mozilla.org/integration/fx-team/rev/ae7c7d39ec2e https://treeherder.mozilla.org/ui/logviewer.html#?job_id=774518&repo=fx-team
Assignee | ||
Comment 11•9 years ago
|
||
Looks like I needed to move getting the row count to inside the "it's an autofill popup list" check. https://hg.mozilla.org/integration/fx-team/rev/698f664097b4 https://hg.mozilla.org/integration/fx-team/rev/dcf2a3871319
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/698f664097b4 https://hg.mozilla.org/mozilla-central/rev/dcf2a3871319
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Comment 13•9 years ago
|
||
Verified as fixed in Build: Firefox for Android 35.0a1 (2014-10-13) Device: Nexus 4 (Android 4.4.4)
Updated•3 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
•