Closed
Bug 468543
Opened 16 years ago
Closed 15 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•16 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•16 years ago
|
||
With Firefox 3.0 on Ubuntu 8.04. Actual Results: " / A Z a z
Assignee | ||
Comment 3•16 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•16 years ago
|
||
You'll want to use LIKE to get case insensitivity.
Comment 5•16 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•16 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•16 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•16 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•16 years ago
|
||
Comment on attachment 356981 [details] [diff] [review] patch r=sdwilsh
Attachment #356981 -
Flags: review?(sdwilsh) → review+
Updated•15 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 10•15 years ago
|
||
I have a partially completed test for this somewhere...
Flags: in-testsuite?
Assignee | ||
Comment 11•15 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c3d462ead823
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Comment 12•15 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•15 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•15 years ago
|
||
Verified for 1.9.0.8 as part of bug 483096.
Keywords: fixed1.9.0.8 → verified1.9.0.8
Comment 16•15 years ago
|
||
Gavin, plans to land this on 1.9.1?
Assignee | ||
Comment 17•15 years ago
|
||
Yes, I just wanted to write the test for it.
Assignee | ||
Comment 18•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/a934285b1429
Keywords: fixed1.9.1
Comment 19•15 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
•