Closed Bug 1959121 Opened 1 year ago Closed 1 year ago

[legacy sidebar] Sidebar does not remember last used if closed it with close x button

Categories

(Firefox :: Sidebar, defect, P1)

defect

Tracking

()

VERIFIED FIXED
139 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox137 --- unaffected
firefox138 + verified
firefox139 --- verified

People

(Reporter: alice0775, Assigned: sfoster)

References

(Regression)

Details

(Keywords: nightly-community, regression, Whiteboard: [fidefe-sidebar])

Attachments

(1 file, 2 external files)

[Tracking Requested - why for this release]: UX usability regression

Steps to reproduce:

  1. Put Sidebars toolbutton on the Navbar from Customize toolbar then done
  2. Click on the Sidebars toolbutton to open sidebar
  3. Change sidebar to History (other than Bookmarks) from sidebar header menu
  4. Click on x button of the sidebar to close the sidebar
  5. Click on the Sidebars toolbutton to open sidebar again

Actual results:
The sidebar is always Bookmarks

Expected results:
The sidebar should be the last used one.

Regression window:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=83f410332709cf1d2ab7642b7dafbdf700d4ce1d&tochange=adfb3dd79e0e4b1d75b5637c860cfb467b514e61

Attached file about:support —

:sfoster, since you are the author of the regressor, bug 1954056, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(sfoster)

This was an intentional change. We wanted to be able to differentiate between the user closing the sidebar UI but leaving a panel as "current" or last used, and the user dismissing a sidebar panel. The previous state leads to cases where the user closes a sidebar only for it to re-open again unexpectedly next time they open the sidebar UI (to get to their vertical tabs or one of the other tools on the sidebar launcher.)

So I think is either invalid or wontfix but I'm open to exploring more if there are cases where the change does more harm than good.

Flags: needinfo?(sfoster)
Whiteboard: [fidefe-sidebar]

To be clear, this is not sidebar.revamp because sidebar.revamp is false.
So this is definitely regression.
Please revert this annoyance behavior.

We'll discuss this today but I doubt we'll get a fix in for 138 and since we're planning to roll out the new sidebar to all users soon, we'll need to decide if this is something we should fix or not. I'll mark it as a P1 for now though.

Priority: -- → P1
Summary: Sidebar does not remember last used if closed it with close x button → [legacy sidebar] Sidebar does not remember last used if closed it with close x button
Severity: -- → S3
Assignee: nobody → sfoster
Pushed by sclements@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/207ffe8e6190 Don't forget previously open sidebar panels for legacy sidebar.revamp=false sidebars. r=sidebar-reviewers,sclements
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Attachment #9478395 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Existing users of legacy sidebar will have to re-select which sidebar panel they want open each time
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: See comment 0 https://bugzilla.mozilla.org/show_bug.cgi?id=1959121#c0
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Single line change that reverts behavior for legacy sidebar (sidebar.revamp=false) users
  • String changes made/needed: None
  • Is Android affected?: no
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

I have reproduced this issue using Firefox 139.0a1 (2025.04.08) on Windows 11.
I can confirm this issue is fixed on latest Nightly Firefox build 139.0a1 (2025.04.10) verified on Windows 11, Ubuntu 22 and on macOS 10.15.
I will come back with verification on Firefox 138 beta, when it will be needed.

Attachment #9478395 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed on Firefox 138.0b7 on Windows 11, Ubuntu 22 and on macOS 10.15.

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: