Closed Bug 1873025 Opened 2 years ago Closed 2 years ago

Sorting on recent tabs after search is confusing

Categories

(Firefox :: Firefox View, defect, P2)

defect

Tracking

()

VERIFIED FIXED
126 Branch
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.

Flags: needinfo?(jsudiaman)
Severity: -- → S3
Flags: needinfo?(jsudiaman)
Priority: -- → P2
Whiteboard: [fidefe-firefox-view]

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.

See Also: → 1855817

(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.

Assignee: nobody → sfoster
  • 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.
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25aa38248ad9 Fix the displayed relative time for open tabs listing to match the recency sorting.r=jsudiaman,fxview-reviewers,tabbrowser-reviewers,dao

Thanks for the backout. I think I see the issue. Updated patch incoming if my try push agrees with me.

Flags: needinfo?(sfoster)

(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.

Blocks: 1875877
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2443d0b3d17d Fix the displayed relative time for open tabs listing to match the recency sorting.r=jsudiaman,fxview-reviewers,tabbrowser-reviewers,dao

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]
Flags: needinfo?(sfoster)

Thanks. The whack-a-mole continues.

Flags: needinfo?(sfoster)
Duplicate of this bug: 1881260
Attachment #9373400 - Attachment description: Bug 1873025 - Fix the displayed relative time for open tabs listing to match the recency sorting.r?jsudiaman → WIP: Bug 1873025 - Fix the displayed relative time for open tabs listing to match the recency sorting.r?jsudiaman

Any update on this? Sorting by recently used is still unusable.

Flags: needinfo?(sfoster)

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.

Flags: needinfo?(sfoster)
Attachment #9373400 - Attachment description: WIP: Bug 1873025 - Fix the displayed relative time for open tabs listing to match the recency sorting.r?jsudiaman → Bug 1873025 - Fix the displayed relative time for open tabs listing to match the recency sorting.r?#fxview-reviewers
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c0fb272fbcad Fix the displayed relative time for open tabs listing to match the recency sorting.r=jsudiaman,fxview-reviewers,tabbrowser-reviewers,dao
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Regressions: 1889774
Flags: qe-verify+

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.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: