Sorting by Location in Library is broken in some cases
Categories
(Toolkit :: Places, defect, P3)
Tracking
()
People
(Reporter: Virtual, Assigned: mak)
Details
(Keywords: nightly-community, reproducible)
Attachments
(3 files)
STR:
- Start Firefox Portable with clean new fresh profile without any addons (extensions, plugins, themes, etc.)
- Restore bookmarks backup from "bookmarks-test.json" file
- Open Library (Ctrl+Shift+B keyboard shortcut)
- Go to Bookmarks Toolbar
- Press "Location" sorting button
- Scroll to bottom
and see that something is not right
| Reporter | ||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
:Virtual, if you think that's a regression, then could you try to find a regression range in using for example mozregression?
Updated•7 years ago
|
| Reporter | ||
Comment 3•7 years ago
|
||
Oddly when I'm using sorting by "Location" (reversed), everything is sorted properly.
| Assignee | ||
Comment 4•7 years ago
|
||
I can reproduce, the comparator in nsNavHistoryResult seems to do the right thing, thus I wonder if it's a bug of the treeview
| Assignee | ||
Comment 5•7 years ago
|
||
I remember there was a request to Sort By Name sort groups between separators, see bug 262329. Though, that follows a different code path, and should not involve folders. It should be unrelated because this is a temporary sorting in the view.
I think the problem here is just that location-less items should be put at the beginning (in ascending order), that's what most "explorers" do anyway. What we do today is just to fallback to sorting by name, that confuses the sorting result.
It should be an easy fix.
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Comment 8•7 years ago
|
||
| bugherder | ||
Comment 9•7 years ago
|
||
AFAICT this is an old issue which we probably don't need to worry about backporting, but feel free to nominate the patch for Beta approval if you feel strongly otherwise.
| Reporter | ||
Comment 10•7 years ago
|
||
I'm confirming that bug is fixed, starting in Mozilla Firefox Nightly 70.0a1 (2019-07-11), so I'm marking this bug as VERIFIED.
Thank you very much! \o/
| Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Description
•