Closed
Bug 392497
Opened 17 years ago
Closed 16 years ago
search in history sidebar loses sort
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3.6a1
People
(Reporter: tuukka.tolvanen, Assigned: tbertels+bugzilla)
References
Details
(Keywords: regression, verified1.9.1)
Attachments
(2 files, 2 obsolete files)
2.10 KB,
patch
|
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
5.30 KB,
patch
|
Details | Diff | Splinter Review |
trunk firefox 20070812, linux. me being lazy, here's a copy of bug 364325 comment 0:
Steps to reproduce:
- start a new profile with blank history
- open the sidebar, set "View" to "By Last Visited"
- visit https://bugzilla.mozilla.org/show_bug.cgi?id=257334
- visit https://bugzilla.mozilla.org/show_bug.cgi?id=362003
- verify that bug 362003 is on top in the history sidebar (that's correct)
- now do a history search for "history.dat" in the sidebar
Result: both entries change position: the last visited address is no longer on
top (like in Firefox 2.0)
Updated•17 years ago
|
Component: History → Places
QA Contact: history → places
I don't see this with 3.0b5pre 2008031504, although I see the reverse at #423296 .
Assignee | ||
Comment 3•17 years ago
|
||
This keeps the sort order for the lastvisited and visited sort orders.
Attachment #309991 -
Flags: review?(mano)
Assignee | ||
Updated•17 years ago
|
Flags: wanted1.9.0.x?
Comment 5•16 years ago
|
||
Mano, do you have time to review this?
Assignee: nobody → tbertels+bugzilla
Flags: wanted1.9.0.x?
Flags: wanted1.9.0.x+
Flags: wanted-firefox3.1?
Comment 6•16 years ago
|
||
nice to have, not an issue we're going to prioritize for 3.1
Flags: wanted-firefox3.1? → wanted-firefox3.1-
Comment 7•16 years ago
|
||
Why is this a separate bug ?
This is a bug on all platforms. Even if bug 364325 is currently marked as fixed. It is not.
See my comment there.
Assignee | ||
Comment 8•16 years ago
|
||
(In reply to comment #7)
I don't see which comment you're talking about, but yes it's reproduceable everywhere.
OS: Linux → All
Hardware: PC → All
Version: Trunk → 3.0 Branch
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 10•16 years ago
|
||
Sorry for bugspam, the culprit seems to be actually bug 389782.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•16 years ago
|
Attachment #309991 -
Flags: review?(mano) → review+
Comment 13•16 years ago
|
||
Comment on attachment 309991 [details] [diff] [review]
Keep sort order when searching in sidebar history
r=mano code wise, please seek for ui-review.
Assignee | ||
Updated•16 years ago
|
Attachment #309991 -
Flags: ui-review?(mconnor)
Updated•16 years ago
|
Attachment #309991 -
Flags: ui-review?(mconnor) → ui-review?(faaborg)
Comment 14•16 years ago
|
||
I'm a little confused on this, wouldn't relevance be the most important sort order when searching? (or is our search really just more of a filter at the moment?)
Updated•16 years ago
|
Attachment #309991 -
Flags: ui-review?(faaborg) → ui-review+
Comment 15•16 years ago
|
||
Comment on attachment 309991 [details] [diff] [review]
Keep sort order when searching in sidebar history
We can disgrard my previous comment, ranking and sort are two different things, so if we eventually rank based on
frecency (like the location bar does) that is an independent decision from
maintaining sort, which we should do either way. (The exception being "most
visited" and "last visited" which would of course still effect ranking.)
Comment 16•16 years ago
|
||
Attachment #309991 -
Attachment is obsolete: true
Comment 17•16 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.2a1
Comment 18•16 years ago
|
||
Comment on attachment 358378 [details] [diff] [review]
unbitrot
asking approval, low risk
Attachment #358378 -
Flags: approval1.9.1?
Comment 20•16 years ago
|
||
Can we get a test for this, please?
Updated•16 years ago
|
Flags: in-testsuite?
Comment 22•16 years ago
|
||
Comment on attachment 369407 [details] [diff] [review]
browser-chrome test
Only some nits:
>+var pages = [
>+ "http://sidebar.mozilla.org/a",
>+ "http://sidebar.mozilla.org/b",
>+ "http://sidebar.mozilla.org/c",
>+ "http://www.mozilla.org/d",
>+];
A comment here explaining that these are listed by descending visit date would be useful.
>+const FILTERED_COUNT = 1;
A comment about how this is used.
>+ sidebar.contentDocument.getElementById("bylastvisited").doCommand();
A comment here like, "sort by visit date descending."
>+ //sidebar.contentDocument.contentWindow.searchHistory(this.value);
Did you mean to leave this in?
>+ is(rc, aExpectedRows, "Rows found: " + rc);
>+ var columns = tree.columns;
>+ is(columns.count, 1, "Columns found: " + columns.count);
>+ for (var r = 0; r < rc; r++) {
>+ var node = treeView.nodeForTreeIndex(r);
>+ is(node.uri, pages[r], "node is correct: " + node.uri);
>+ }
I think the strings in is() should be a description of what you expect, like, "there should be only one column in tree", "position of node in tree should be the same as the order it was visited in". On failure the harness prints out the first argument to is() anyway right?
r=adw
Attachment #369407 -
Flags: review?(adw) → review+
Comment 24•16 years ago
|
||
Flags: in-testsuite? → in-testsuite+
Comment 26•16 years ago
|
||
Comment on attachment 358378 [details] [diff] [review]
unbitrot
a191=beltzner, please make sure the test lands with it
Attachment #358378 -
Flags: approval1.9.1? → approval1.9.1+
Comment 27•16 years ago
|
||
landed patch:
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/c51d6084775c
and test:
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/df52eb41dbcc
Keywords: fixed1.9.1
Comment 28•16 years ago
|
||
verified FIXED on builds:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090608 Shiretoko/3.5pre ID:20090608122057
and
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090608 Minefield/3.6a1pre ID:20090608122028
as well as Fx3.5RC1 on win XP
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Comment 29•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•