-
Notifications
You must be signed in to change notification settings - Fork 295
Description
Abstract
The tab-counter element in a tab-item disappears when the tab becomes the active one.
Steps to reproduce
- Start Firefox with clean profile.
- Install TST. (Appearance left as default "Proton")
- Create and collapse a tab tree and at least one other tab not in that tree.
- Switch between the collapsed tree root and the other tab
- Select No Decoration and repeat step 4.
- Specify an active tab background color in User Style Sheets and repeat step 4
Specifying only a background-color for tab-item.active .background (as per the snippet example):
tab-item.active .background { background-color: steelblue; }
Expected result
The tab-counter on a collapsed tree remains when the tree is selected, both in the default config and with a style sheet background color specified. For configurations with hidden tab-twisties, there is currently no visual distinction between an active tab that is a leaf node or a collapsed parent.
Actual result
The tab-counter of the collapsed root tab disappears when the tree is selected and the close button appears. Notably, if the 'crop with ".."' option is selected, it is apparent that the tab-counter is being pushed to the left and not rendered, not simply rendered over, due to whitespace appearing between the ellipses and the X.
Only with No Decoration and no User Style Sheet specified does the text element remain visible.
is selected, the tab-counter of the collapses tree becomes visible.
Environment
- Platform (OS): x86_64 Tuxedo Linux 24.04.3 LTS (Ubuntu derivative with KDE Plasma 6.5.2 Wayland)
- Version of Firefox: 146.0
- Version (or revision) of Tree Style Tab: 4.2.7