Open
Bug 414524
Opened 18 years ago
Updated 3 years ago
Form autocomplete should sort numbers numerically
Categories
(Toolkit :: Form Manager, defect, P3)
Toolkit
Form Manager
Tracking
()
NEW
People
(Reporter: mozilla.org, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
Many forms require a number to be filled in, and then it would be useful if previously entered values are sorted numerically (e.g., "2", then "50", then "100") instead of alphabetically (e.g., "100", then "2", then "50").
Reproducible: Always
Mixed type lists should probably sort numbers separately, so you'll have "2", "50", "100", "abc", "bar", "foo".
Ubuntu's Nautilus and find sort this way, but not ls:
$ touch 2 10 foo
$ find .
.
./2
./10
./foo
$ ls -l | awk '{print $8}'
10
2
foo
| Assignee | ||
Updated•17 years ago
|
Product: Firefox → Toolkit
Comment 1•17 years ago
|
||
Bug 418343 just fixed sorting in FF3 (which was completely broken), but the results for numbers are most likely just being sorted alphabetically. (Feel free to check with tonight's nightly to verify.)
Probably what needs to happen here is to make a second sorting pass on the results we get back from sqlite, look for the range of numerical values (if present, and they should all be together), and then resort that block numerically.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Version: unspecified → Trunk
Updated•17 years ago
|
Severity: enhancement → minor
Updated•3 years ago
|
Severity: minor → S4
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•