zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
19.61k stars 479 forks source link

Workspaces themes conflict with pinned tabs #2848

Open MW-J97 opened 3 weeks ago

MW-J97 commented 3 weeks ago

Captchas

What happened?

When I pin some tabs inside a workspace and move into another workspace, I find the second workspace area of tabs shrank. Look at the screenshot https://i.imgur.com/TMWOEDG.png. Look at the space below the new tab button. It should be like that https://i.imgur.com/i6u0s21.png. There are a lot of tabs below, but the space shrinks as if it tries to compensate with the new space below pinned tabs in the first workspace.

I hope I succeeded to explain it.

Reproducible?

Version

1.0.1-a.18 (Firefox 132.0.1) (64-bit)

What platform are you seeing the problem on?

Linux

Relevant log output

No response

dosubot[bot] commented 3 weeks ago

Hey @MW-J97! 👋 I'm here to help you with any bugs, questions, or contributions. I'll do my best to assist you while we wait for a human maintainer.

The issue you're experiencing with the workspace themes conflicting with pinned tabs, causing the tab area to shrink, might be related to how pinned tabs are managed and displayed. The codebase has adjustments that use gBrowser._numVisiblePinTabs instead of gBrowser._numPinnedTabs, which could affect the tab area size [1]. Additionally, CSS styles for pinned tabs might influence their layout and behavior across workspaces [2].

To address this, you might want to check if any CSS styles or theme settings are affecting the layout of pinned tabs in your workspaces. Adjusting these settings could help resolve the issue with the tab area shrinking when switching workspaces.

To continue talking to Dosu, mention @dosu.