Closed Bug 1941344 Opened 7 months ago Closed 6 months ago

Hide vertical tabs close button for pinned tabs and unpinned selected tab

Categories

(Firefox :: Sidebar, task, P1)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: kcochrane, Assigned: sclements)

References

(Regressed 2 open bugs)

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(2 files)

As pinned tabs aren't closed often, UX has requested that we not show the new close button (added in bug 1933479) on vertical pinned tabs when the sidebar is collapsed.

Priority: -- → P2
Assignee: nobody → sclements
Status: NEW → ASSIGNED
Priority: P2 → P1
  • In addition, could we reduce the size of the circle to 15 px.
  • Move the button a bit up, so that the button covers less of the tab. We hope it will help us to decrees the amount of misclicks.
    Currently, in Nightly, the button appears lower and, therefore, more on top of the tab. I understand the rationale for the current positioning—it prevents the close button of the first tab from being covered by the toolbar.
    We had the same issue with the shadow of the first selected tab—the shadow was getting cut off by the toolbar. This is the reason why we moved the first tab slightly down. However, this was a temporary solution, and we wanted to revisit this issue to realign the position of the first tab with the content of the page.

After observing confusion caused by the presence of two close buttons—one on the selected tab and another on the tab currently being hovered over—we decided to remove the close button from the selected tab.
I have confirmed with Anna from the Accessibility Team that the absence of the close button on the selected tab won't be a blocker.

Summary: Hide vertical tabs close button for pinned tabs when the sidebar is collapsed → Hide vertical tabs close button for pinned tabs and unpinned selected tab
See Also: → 1933479
  • Hide close button for selected and pinned tabs
  • Adjust positioning for close button in collapsed state
Attachment #9461093 - Attachment description: WIP: Bug 1941344 - changes to vertical close tabs button r=#sidebar-reviewers → Bug 1941344 - changes to vertical close tabs button r=kcochrane
Attachment #9461093 - Attachment description: Bug 1941344 - changes to vertical close tabs button r=kcochrane → Bug 1941344 - changes to vertical close tabs button r=#sidebar-reviewers
Pushed by sclements@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/955bfab49273 changes to vertical close tabs button r=desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,dao,jsudiaman
Regressions: 1944353
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Regressions: 1944918

It seems like the close button is for sure hidden on pinned tabs, but now, if you click in the spot where the close button used to be, the pinned tab still closes. Even the "Close tab" tooltip appears if you hover over where it used to be. This was quite confusing the first time it happened to me.

Please let me know if you need anything from me or if you cannot reproduce.

Flags: needinfo?(sclements)
Flags: needinfo?(kcochrane)

Not sure why I was NIed here, I wasn't the author of this patch

Flags: needinfo?(kcochrane)

Just figured the reporter may be interested in validating this. Sorry about that.

(In reply to Matt Boris :mboris from comment #7)

It seems like the close button is for sure hidden on pinned tabs, but now, if you click in the spot where the close button used to be, the pinned tab still closes. Even the "Close tab" tooltip appears if you hover over where it used to be. This was quite confusing the first time it happened to me.

Please let me know if you need anything from me or if you cannot reproduce.

Thanks, someone else filed bug 1946589 for this so it will be addressed.

Flags: needinfo?(sclements)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: