Sidebar would not remember last used panel
Categories
(Firefox :: Sidebar, defect, P1)
Tracking
()
People
(Reporter: alice0775, Assigned: sfoster)
References
(Regression)
Details
(Keywords: nightly-community, regression, Whiteboard: [fidefe-sidebar])
Attachments
(5 files)
3.30 KB,
application/octet-stream
|
Details | |
3.32 KB,
application/octet-stream
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr140+
|
Details | Review |
Steps to reproduce:
- Open Firefox with new profile
- Put Sidebars toolbutton on Nav bar from Customize toolbar
- Click the Sidebars toolbutton
- Change sidebar panel from sidebar header to History from Bookmarks.
- Close the Sidebar
--- So, last used sidebar is History - Close the browser
- Re-open the browser with the same profile of step 1
- Click the Sidebars toolbutton
Actual results:
Sidebar opens Bookmarks panel
Expected results:
Sidebar should open last used panel. In this case History panel
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=26e8012d5da938871783505e3753b681ab8cb186&tochange=e86e777fced482506de767727a313be25003c673
Comment 1•1 year ago
|
||
:nsharpley, since you are the author of the regressor, bug 1885894, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
![]() |
Reporter | |
Comment 3•1 year ago
|
||
(In reply to :Gijs (he/him) from comment #2)
I think this is a dupe of bug 1908019, right?
I do not think this is duplication.
Because, It reproduced with newly created profile and I am not using "Clear Recent History" and any related settings.
Comment 4•1 year ago
|
||
Not a duplication, but I think a bug 1908019 patch would solve it. I've picked that up from :sclements, so in progress.
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
![]() |
Reporter | |
Comment 6•1 year ago
|
||
(In reply to Mathew Hodson from comment #5)
Was this fixed by bug 1908019?
I can still reproduce this on Nightly134.0a1(20241029155057) Windows11.
Comment 7•1 year ago
|
||
(In reply to Mathew Hodson from comment #5)
Was this fixed by bug 1908019?
No, that bug was for a different issue altogether.
Updated•11 months ago
|
Updated•11 months ago
|
Updated•10 months ago
|
![]() |
Reporter | |
Comment 9•10 months ago
|
||
Not duplicate. Because of sidebar.revamp is false (default) in this bug.
Comment 10•9 months ago
•
|
||
(In reply to Alice0775 White from comment #9)
Not duplicate. Because of sidebar.revamp is false (default) in this bug.
It's being treated as a duplicate because of how sidebar state properties are now stored - which is entirely in session restore - so it doesn't matter practically whether a user is using the new or old sidebar the fix is the same (and since it is caused by the work in bug 1892033, which the duped bug was also regressed by).
![]() |
Reporter | |
Comment 11•5 months ago
|
||
This is not fixed yet. I can reproduce the issue on Nightlt140.0a1 139.0b7 138.0.2 as well as esr128.10.
![]() |
Reporter | |
Updated•5 months ago
|
Comment 12•5 months ago
|
||
Can you give some context on why this was reopened please?
![]() |
Reporter | |
Comment 13•5 months ago
|
||
(In reply to Sarah Clements [:sclements] from comment #12)
Can you give some context on why this was reopened please?
Bug 1921536 did not fix the issue from STR of comment#0.
I can still reproduce the issue on Nightlt140.0a1 139.0b7 138.0.2 as well as esr128.10.
Thanks
Updated•5 months ago
|
Updated•5 months ago
|
Comment 17•4 months ago
|
||
Starting from version 127, the panel is broken
Last working version 126.0.1
Firefox 126.0.1 https://youtu.be/3q8It2O97pQ
Firefox 139.0.1+ https://youtu.be/-30dTH3VVqk
Comment 18•4 months ago
|
||
Any news on the fix? It's starting to get annoying.
Comment 20•4 months ago
|
||
(In reply to Alexey71 from comment #18)
Any news on the fix? It's starting to get annoying.
Not as yet. Have you considered enabling the new sidebar via the Firefox settings ("Show sidebar")? If that doesn't work for you, can you share more on why?
Comment 21•4 months ago
|
||
(In reply to :Gijs (he/him) from comment #20)
(In reply to Alexey71 from comment #18)
Any news on the fix? It's starting to get annoying.
Not as yet. Have you considered enabling the new sidebar via the Firefox settings ("Show sidebar")? If that doesn't work for you, can you share more on why?
The new side panel also does not remember the last state. It also does not remember the sorting selection. After restarting, you have to select everything again. I need quick access with one click to the complete history sorted by last visit. Everything was fine until Firefox version 127 ((
Comment 22•4 months ago
|
||
(In reply to Alexey71 from comment #21)
(In reply to :Gijs (he/him) from comment #20)
(In reply to Alexey71 from comment #18)
Any news on the fix? It's starting to get annoying.
Not as yet. Have you considered enabling the new sidebar via the Firefox settings ("Show sidebar")? If that doesn't work for you, can you share more on why?
The new side panel also does not remember the last state. It also does not remember the sorting selection. After restarting, you have to select everything again. I need quick access with one click to the complete history sorted by last visit. Everything was fine until Firefox version 127 ((
Thanks for flagging this - we've captured this separately in bug 1972168.
Comment hidden (advocacy) |
Comment hidden (off-topic) |
Assignee | ||
Comment 25•4 months ago
|
||
I'm not able to reproduce this. And I've tried going back to 138 with mozregression and still no luck. Here's what I'm doing:
- Create a new profile, enable "Open previous windows and tabs"
- Open the (legacy, not revamp) history sidebar (ctrl + H)
- Quit the browser
At this point I can confirm that the window data saved in sessionstore.jsonlz4 has an entry for sidebar
like { "command": "viewHistorySidebar" }
. When I restart the browser, the sidebar re-opens with the history panel as expected. Then, I use mozregression with this profile:
./mach mozregression --find-fix --bad 138 --profile '/path/to/saved/history-sidebar-profile' --profile-persistence=clone-first
The browser opens and the sidebar is already open with the history panel. And I'm unable to find a version where this is not the case - so I guess I'm missing a step or condition? If the sidebar state was simply not being saved, we'd expect the sidebar to just be closed, not open at the bookmarks panel.
If this still reproduces for you with a clean profile, can you attach the sessionstore.jsonlz4 that is saved after you quit the browser? (this has tab urls and history etc in it, so please only share this from clean profile where you've just enabled session restore and opened the history sidebar). Anything else I'm missing?
![]() |
Reporter | |
Comment 26•4 months ago
•
|
||
Your STR is unrelated to this bug.
Before Quit the browser
, you should close the sidebar.
Then relaunch browser and open sidebar from the legacy sidebar toolbar button.
I can still reproduce the issue with STR of comment#0 on Nightly141.0a1 Windows11.
Comment 27•4 months ago
|
||
@Sam Foster
Can you reproduce the issue like this?:
https://youtu.be/8urykue_fow
Comment 28•4 months ago
|
||
sessionstore.jsonlz4 from version 126.0.1, where it works fine
Comment 29•4 months ago
|
||
sessionstore.jsonlz4 from version 127.0. Starting with this version, there is a bug.
Assignee | ||
Comment 30•4 months ago
|
||
Ok thanks both of you. This looks to have been intentional, there's even a comment explaining that we'll choose not to remember last-used sidebars when the panel is closed. I'm looking through notes from that bug and I don't see where this requirement came from - I'll need to confirm which is the behavior we want.
Assignee | ||
Comment 31•4 months ago
|
||
Updated•4 months ago
|
Assignee | ||
Comment 32•4 months ago
|
||
[Tracking Requested - why for this release]: Regression from 128. This turned out to be a trivial fix.
Comment 33•4 months ago
|
||
@Sam Foster
What do you mean?
Updated•4 months ago
|
Comment 34•4 months ago
|
||
The bug is marked as tracked for firefox141 (nightly). However, the bug still has low priority and has low severity.
:pluk, could you please increase the priority and increase the severity for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Updated•4 months ago
|
Updated•4 months ago
|
Assignee | ||
Comment 35•4 months ago
|
||
I plan to land this after the merge and consider an uplift at that point.
Comment hidden (off-topic) |
Comment 37•4 months ago
|
||
Comment 38•4 months ago
|
||
bugherder |
Comment 39•4 months ago
|
||
The patch landed in nightly and beta is affected.
:sfoster, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox141
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 40•4 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D254261
Updated•4 months ago
|
Comment 41•4 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: See https://bugzilla.mozilla.org/show_bug.cgi?id=1922777#c0
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: See https://bugzilla.mozilla.org/show_bug.cgi?id=1922777#c0
- Risk associated with taking this patch: Low
- Explanation of risk level: Well bounded patch, very simple front-end patch. It removes code that explicitly prevented remembering and storing the last-used panel
- String changes made/needed: None
- Is Android affected?: no
Assignee | ||
Comment 42•4 months ago
|
||
(In reply to BugBot [:suhaib / :marco/ :calixte] from comment #39)
The patch landed in nightly and beta is affected.
:sfoster, is this bug important enough to require an uplift?
I think this would be low-risk to uplift.
Updated•4 months ago
|
Updated•4 months ago
|
Comment 43•4 months ago
|
||
uplift |
Assignee | ||
Comment 45•3 months ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #44)
Do we want this on ESR140 also?
If possible, yes I don't think it would hurt. Do I need a new patch for that, or can I just ask lando uplift attachment 9497737 [details]?
Comment 46•3 months ago
|
||
The patch appears to cherry-pick cleanly, so a Lando request should suffice.
Assignee | ||
Comment 47•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D254261
Updated•3 months ago
|
Comment 48•3 months ago
|
||
firefox-esr140 Uplift Approval Request
- User impact if declined: See https://bugzilla.mozilla.org/show_bug.cgi?id=1922777#c0
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: See https://bugzilla.mozilla.org/show_bug.cgi?id=1922777#c0
- Risk associated with taking this patch: Low
- Explanation of risk level: Well bounded patch, very simple front-end patch. It removes code that explicitly prevented remembering and storing the last-used panel
- String changes made/needed: None
- Is Android affected?: no
Updated•3 months ago
|
Updated•3 months ago
|
Comment 49•3 months ago
|
||
uplift |
Updated•3 months ago
|
Comment 50•3 months ago
|
||
I was able to reproduce the issue on Win11x64 using Firefox build 133.0a1(20241004205955).
Verified as fixed on Win11x64 using Firefox builds 140.1.0esr / 141.0 / 142.0a1.
Updated•3 months ago
|
Description
•