Closed Bug 1978887 Opened 10 months ago Closed 10 months ago

Unable to scroll overflowing pinned tabs with horizontal tabs

Categories

(Firefox :: Tabbed Browser, defect)

Firefox 141
defect

Tracking

()

VERIFIED FIXED
143 Branch
Tracking Status
firefox142 + wontfix
firefox143 --- verified
firefox144 --- verified

People

(Reporter: nsharpley, Assigned: nsharpley)

References

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(2 files)

It seems in moving to two separate tab containers (pinned and unpinned) we've lost the behaviour where pinned tabs are scrollable with unpinned tabs. Looking into a solution with flex where the pinned tabs container takes up a maximum width with the overflow scrollable, leaving space for regular tabs visibility.

  • Set max width to 80% of tabbrowser to allow regular tabs to still be visible
  • Scroll pinned tabs overflow
Blocks: 583299
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bb2eee25f99f https://hg.mozilla.org/integration/autoland/rev/8c5dc7e8dd64 Set pinned tabs container max width and allow overflow scroll r=tabbrowser-reviewers,desktop-theme-reviewers,dao
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch

[Tracking Requested - why for this release]: Potential 142 uplift request after we get QA testing that this fixes the issues and doesn't have any unexpected side effects.

Flags: qe-verify+

The patch landed in nightly and beta is affected.
:nsharpley, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(nsharpley)

Rares, any chance we could please get some QA eyes on this? We may uplift. Thanks!

Flags: needinfo?(nsharpley) → needinfo?(rdoghi)
Attached video Pinss.mp4

Hi @Nikki, I am seeing a few issues here in our latest Builds, it seesm that the Pinned regions get way to big, with Vertical tabs the section can be resized to a smaller area when it gets that big but it wont automatically set a fixed Pin region size by default, it goes all the way down.

With Horizontal Tabs we have the same issue the Pinned section stretches more than half the Tab bar and we cannot resize that pinned section with Horizontal tabs.

The Tabs can scrolled with both Vertical and Horizontal tabs but I dont know if the new giant pinned section is intended behavior. Please take a look at my screen recording.

I enabled Vertical tabs and kept adding tabs to the pinned section and it kept getting bigger and bigger, only after I was at the bottom the Vertical scroll bar became available, or after I resized it back to a normal size.

Flags: needinfo?(rdoghi)
QA Whiteboard: [qa-investig-needed-c143/b142]
QA Contact: rdoghi
Blocks: 1981262

Thank you, Rares!

I enabled Vertical tabs and kept adding tabs to the pinned section and it kept getting bigger and bigger, only after I was at the bottom the Vertical scroll bar became available, or after I resized it back to a normal size

Kelly, this is intended behaviour right? If the vertical pinned tabs do not have a height initially set (for example if its a new profile you're testing with) it increases in size in response to how many pinned tabs there are.

The Tabs can scrolled with both Vertical and Horizontal tabs but I dont know if the new giant pinned section is intended behavior. Please take a look at my screen recording.

The solution to this bug was discussed with Yulia and Ania and we went with this initial size. There are plans to follow up with a splitter in order to resize, as you suggested, similar to vertical mode. Bug 1981262 I just filed.

Given that it fixes a more serious bug, I'll check in with my team if this is in a state we want to uplift, or if we want to wait for a splitter.

Flags: needinfo?(rdoghi)
Flags: needinfo?(kcochrane)

Hi @Nikki, I had a bit more time to test this issue in our latest Nightly build and I did come across a few more issues:

  1. First things first, I tried to pin about 50 tabs at once in BETA and RELEASE and it completely overflows the UI, I no longer see any free tabs or the X Close button so I think we do need this fix:

ScreenRecording:
https://drive.google.com/file/d/1MCDFn08KozP0tJvXHpC2Fj0ctdnL2uxD/view?usp=sharing

  1. Testing this issue with a bunch of tabs I noticed that a lot of Memory is being used so much so that its hard to close the Firefox browser from the X Close button.
  2. Another issue I noticed is that if I try to move multiple pinned tabs at once not only I cant move them but I wont be able to move single pinned tabs after either. (At first we can move single pinned tabs with no issues but after trying to move multiple pinned tabs we can no longer move any of them)
  3. Also noticed a lot of errors in Console.

Screen Recording:
https://drive.google.com/file/d/1hjsR1UlGy8oiV9f2AY_vzzXKlQAKtkF5/view?usp=sharing

Flags: needinfo?(rdoghi) → needinfo?(nsharpley)

Thanks for catching those errors! Looks like the introduction of elementToMove in bug 1971382 a few days ago uncovered an existing bug. I've got a fix up for that now in bug 1981507.

Not sure how to tackle the memory issue though...

Flags: needinfo?(nsharpley)

(In reply to Nikki Sharpley (:nikkis) (she/her) from comment #8)

Thank you, Rares!

I enabled Vertical tabs and kept adding tabs to the pinned section and it kept getting bigger and bigger, only after I was at the bottom the Vertical scroll bar became available, or after I resized it back to a normal size

Kelly, this is intended behaviour right? If the vertical pinned tabs do not have a height initially set (for example if its a new profile you're testing with) it increases in size in response to how many pinned tabs there are.

Yeah the pinned tabs area will auto resize to fit it's contents until/unless the user resizes the pinned tabs area using the splitter. The unpinned tabs area has a min-height of the height of 3 tabs which is what can be seen in the video.

Flags: needinfo?(kcochrane)

Given how late it is in the cycle and the risk, we will hold off on uplifting to 142.

I tried this again in our latest Nightly build since now we can move multiple tabs and we no longer see those errors in console due to Bug 1981507 being fixed, but the memory issue is still there, here is a captured profile, maybe this will help, if we have a bunch of pinned tabs and we simply go through them and select them or moving them around the entire browser starts to work slower and slower.

https://share.firefox.dev/45DMFEy

This issue is Verified as fixed in our latest Beta 143.0b2 and our Latest Nightly 144.0a1 (2025-08-19), I have logged a separate issue for the Performance problems here: Bug 1983805

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-investig-needed-c143/b142] → [qa-investig-done-c143/b142][qa-ver-done-c144/b143]
Flags: qe-verify+
QA Whiteboard: [qa-investig-done-c143/b142][qa-ver-done-c144/b143] → [qa-triage-done-c144/b143]
Blocks: 1987841
Depends on: 1990211
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: