Closed
Bug 468543
Opened 17 years ago
Closed 17 years ago
form autocomplete (and Firefox search bar) items are sorted case sensitively (A-Za-z)
Categories
(Toolkit :: Form Manager, defect)
Toolkit
Form Manager
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: alex, Assigned: Gavin)
References
Details
(Keywords: verified1.9.0.9, verified1.9.1)
Attachments
(1 file)
|
1.08 KB,
patch
|
sdwilsh
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
The firefox search box seems to do a non-smart ordering of previous searches.
I get [A-Z<symbols>a-z].
I think it should not differentiate between upper & lower case for the sorting (or treat both cases of a letter as adjacent letters) -- although it should still preserve case for all searches.
Reproducible: Always
Actual Results:
A
Z
"
/
a
z
Expected Results:
A
a
B
b
"
/
Comment 1•17 years ago
|
||
I see this bug too, and it doesn't seem to be a duplicate.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20081210 Minefield/3.2a1pre
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 2•17 years ago
|
||
With Firefox 3.0 on Ubuntu 8.04. Actual Results:
"
/
A
Z
a
z
| Assignee | ||
Comment 3•17 years ago
|
||
Shawn: I think this is just the result of the sort at:
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/satchel/src/nsStorageFormHistory.cpp#553
Is there an alternative we can use that will get us a case-insensitive sort?
Comment 4•17 years ago
|
||
You'll want to use LIKE to get case insensitivity.
Comment 5•17 years ago
|
||
Misread the above - this should shine some light on things:
sqlite> select * from foo order by n ASC;
A
B
C
a
b
c
sqlite> select * from foo order by UPPER(n) ASC;
A
a
B
b
C
c
| Assignee | ||
Comment 6•17 years ago
|
||
No noticeable slowdown when listing my entire 8382-item searchbar history (which is a pretty pathological case as far as forms are concerned).
| Assignee | ||
Comment 7•17 years ago
|
||
(noe
Component: Search → Form Manager
OS: Windows Vista → All
Product: Firefox → Toolkit
QA Contact: search → form.manager
Hardware: x86 → All
Version: unspecified → Trunk
| Assignee | ||
Updated•17 years ago
|
Summary: search box does case sensitive sort (A-Za-z) of old searches → form autocomplete (and Firefox search bar) items are sorted case sensitively (A-Za-z)
Comment 8•17 years ago
|
||
Comment on attachment 356981 [details] [diff] [review]
patch
r=sdwilsh
Attachment #356981 -
Flags: review?(sdwilsh) → review+
Updated•17 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 10•17 years ago
|
||
I have a partially completed test for this somewhere...
Flags: in-testsuite?
| Assignee | ||
Comment 11•17 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Comment 12•17 years ago
|
||
Comment on attachment 356981 [details] [diff] [review]
patch
Requesting approval for a low-risk patch to improve the user experience of form autocomplete
Attachment #356981 -
Flags: approval1.9.1?
Comment 13•17 years ago
|
||
Comment on attachment 356981 [details] [diff] [review]
patch
a=beltzner, but gavin promised me a test!
Attachment #356981 -
Flags: approval1.9.1? → approval1.9.1+
Comment 15•17 years ago
|
||
Verified for 1.9.0.8 as part of bug 483096.
Keywords: fixed1.9.0.8 → verified1.9.0.8
Comment 16•17 years ago
|
||
Gavin, plans to land this on 1.9.1?
| Assignee | ||
Comment 17•17 years ago
|
||
Yes, I just wanted to write the test for it.
| Assignee | ||
Comment 18•17 years ago
|
||
Keywords: fixed1.9.1
Comment 19•17 years ago
|
||
verified FIXED on builds:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090505 Minefield/3.6a1pre ID:20090505030940
and
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090505 Shiretoko/3.5b5pre ID:20090505030932
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•