-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab separator changes width when the last tab is created or closed #839
Comments
Honestly I can't see any separator. |
Ok, I think I now understand the issue 😅, the fix should be easy. |
Thanks! That did fix the issue. However I noticed something else quite subtle (but visually annoying), which I'm not sure is present or not before the fix. When I have multiple tab open, closing the last tab works as expected, but closing one of the tabs in the middle cause the first tab's width to change. For example, in the video below, closing the third tab causes the first tab's width to increase a bit, and closing the (now) third tab again causes the first tab's width to decrease a bit. Screencast.From.2024-12-23.20-21-03.trimmed.mp4 |
Yes, looks like the Firefox tab closing mechanic doesn't expects the tab having |
Is there an easy fix for this? If not, it seems like the old behavior is better. |
Tried a few things but looks like is not posible, might be related to problems like #174 that happen when you mess with the tabs sizing. Will revert the previous fix. |
Describe the bug
The vertical lines between tabs have a slightly smaller width, than then one that separates the last tab and the
+
new tab button.As a result, when a new tab is created, the last tab's width suddenly increases (as the separator between it and the
+
button shrinks to become the separator between tabs). Similarly, when closing the last tab, the separator grows in width, and the second-to-last tab suddenly shrinks in size as it becomes the last tab.The effect is pretty subtle, but hopefully the screen recording that I provided should explain it.
I only tested this when using the stock Firefox layout, where tabs are on top and of equal size, and the
+
button is next to the last open tab.To Reproduce
Click on the
+
button to create a new tab.Or
Have at least two tabs open, and close the last tab.
Expected behavior
When creating a new tab, the last open tab's width doesn't change.
And
When closing the last tab, the second-to-last tab's width doesn't change.
Screenshots
Screencast.From.2024-10-05.08-49-16.mp4
Screencast.From.2024-10-05.08-52-14.mp4
Setup information
gnomeTheme.normalWidthTabs
,gnomeTheme.tabsAsHeaderbar
The text was updated successfully, but these errors were encountered: