The Recently closed tabs counter is not updated before opening the list
Categories
(Firefox for Android :: Tabs, defect, P3)
Tracking
()
People
(Reporter: boek, Assigned: avirvara)
Details
From github: https://github.com/mozilla-mobile/fenix/issues/17523.
Steps to reproduce
- Launch Fenix;
- Open 2 or more tabs;
- Go to Tabs tray and close all the tabs one by one;
- Go to History;
- Observe the Recent closed tabs counter;
Expected behavior
The Recent closed tabs counter is updated with the number of tabs closed at steps 3.
Actual behavior
The Recent closed tabs counter is not updated with the number of tabs closed at steps 3. Is showing 1 tab less than the tabs closed.
When closing all the tabs with "Close all tabs", the number of tabs closed at the same time are not added to the Recently closed tabs counter.Notes
The Recently closed tabs counter is updated after entering the list and leaving the list.
Device information
- Android device: Motorola Moto G6 (Android 8), Samsung Galaxy Tab S3 (Android 8), Nexus 5 (Android 6.0.1).
- Fenix version: Nightly 1/19
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
I did a little bit of investigation on this issue and the conclusion is the following: the tabs are closed as they should and the counter works fine, whenever we close the tabs one by one, or by pressing the CloseAll button. The problem, however, appears because the time needed to update the closed tabs information into the storage is very long, and by the time we enter the History, the counter hasn't been updated yet, so it displays an incorrect value. Also, it is important to know that the number of recently closed tabs is now limited to a maximum of 10. Solving the issue might need some more serious thinking and refactoring, if it will be decided to go on with it.
Description
•