Sorting on recent tabs after search is confusing
Categories
(Firefox :: Firefox View, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | verified |
People
(Reporter: jrmuizel, Assigned: sfoster)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-firefox-view])
Attachments
(3 files)
I would've expected things to be shown in most recently used order, but as shown in the screenshot that is not the case. I haven't been able to figure out what order the list is in. It doesn't seem to match tab order either.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
From what I can see it doesn't change the sort order at all, it preserves its positioning in the list which is still based on where it is in the tab strip (except for pinned tabs). Are you saying its not reflecting the order in the tab strip either?
I think once we implement bug 1855817 the order will be less confusing.
| Reporter | ||
Comment 2•2 years ago
|
||
| Reporter | ||
Comment 3•2 years ago
|
||
(In reply to Sarah Clements [:sclements] from comment #1)
From what I can see it doesn't change the sort order at all, it preserves its positioning in the list which is still based on where it is in the tab strip (except for pinned tabs). Are you saying its not reflecting the order in the tab strip either?
Correct. It doesn't reflect the order in the tab strip either.
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
- Carry over lastAccessed times from tabs that haven't been seen/active this session.
- Use the lastSeenActive rather than lastAccessed timestamp for labeling open tabs in firefox view.
Comment 6•2 years ago
|
||
Backed out for causing bc failures at browser/base/content/test/tabs/browser_lastSeenActive.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/14759f9d57f24864706f47feb006248f5c509937
| Assignee | ||
Comment 7•2 years ago
|
||
Thanks for the backout. I think I see the issue. Updated patch incoming if my try push agrees with me.
| Assignee | ||
Comment 8•2 years ago
•
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #7)
Thanks for the backout. I think I see the issue. Updated patch incoming if my try push agrees with me.
It did not. It seems that minimizing and restoring a window doesn't necessarily change its order or "topness" according to BrowserWindowTracker. I'll update the tests accordingly.
Comment 10•2 years ago
|
||
Backed out for causing mochitests failures in browser_opentabs_recency.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_opentabs_recency.js | The expected window is the top window - Got [object Window], expected [object Window]
Updated•2 years ago
|
| Reporter | ||
Comment 13•2 years ago
|
||
Any update on this? Sorting by recently used is still unusable.
| Assignee | ||
Comment 14•2 years ago
|
||
Yeah I have a patch ready to go that has been blocked on getting its tests un-disabled. That test patch is in review and should land this week which will let me land the patch here.
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Comment 16•2 years ago
|
||
| bugherder | ||
Comment 17•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
Comment 18•2 years ago
|
||
I've replicated this issue using Nightly 123.0a1 on Windows 10 x64.
Verified as fixed in the latest Firefox 126.0b5 version on Windows10 x64, macOS 13, and Ubuntu 22.04, as the issue no longer occurs.
Description
•