The notification dot is not displayed if the tab is in a Split View
Categories
(Firefox :: Tabbed Browser: Split View, defect, P3)
Tracking
()
People
(Reporter: atrif, Assigned: iwehjohn, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-next-bug, Whiteboard: [fidefe-splitview][outreachy-sidebar-2026])
Attachments
(2 files, 1 obsolete file)
Found in
- 146.0a1 (2025-11-02)
Affected versions
- 146.0a1 (2025-11-02)
Tested platforms
- Affected platforms: Ubuntu 24, Windows 11, macOS 26
- Unaffected platforms: none
Preconditions
- split view enabled
- vertical tabs enabled
- sidebar is collapsed
Steps to reproduce
- Create a Split View and in one view log in to Gmail.
- Send an email to the address from comment 1.
Expected result
- The notification dot is displayed.
Actual result
- The notification dot is not displayed if the tab is in a Split View.
Regression range
- New feature. Happens after bug 1986946 implementation.
Additional notes
- Attached a screen recording.
Updated•6 months ago
|
Updated•6 months ago
|
Updated•4 months ago
|
Comment 2•3 months ago
|
||
In horizontal tabs the notification dot is covered by the tab favicon.
Updated•1 month ago
|
I am interested the project, I I be assigned to the project?
I am interested in fixing the bug, Can I be assigned to it?
Comment 5•1 month ago
|
||
Yes, I'll assign it to you John
Updated•1 month ago
|
I investigated this bug and found the root cause. In tabbrowser.js, there is a check at line 8640 that reads if (!tabForEvent || tabForEvent.selected) which causes an early return before the attention attribute is ever set on the tab. The problem is that in Split View, the Gmail tab has selected="true" on it since it is actively displayed, so this check always bails out early and the notification dot never appears.
The fix involved two changes. First, in tabbrowser.js I updated the condition to skip the early return when the tab is inside a tab-split-view-wrapper, so that split view tabs can now correctly receive the attention attribute. Second, in tabs.css I added a new selector to ensure the notification dot is rendered for split view tabs even when they carry the selected attribute.
The dot is now showing correctly in the collapsed vertical sidebar for split view tabs. The exact pixel positioning of the dot relative to the favicon may need a small follow-up tweak, but the core bug is fixed.
Assign this to me. here is my patch https://phabricator.services.mozilla.com/D289684
| Assignee | ||
Comment 10•1 month ago
|
||
I did fix the the bug of not showing the notification dot. here is my patch https://phabricator.services.mozilla.com/D289747
Comment 11•1 month ago
|
||
:japandi, this bug was already assigned to John. Please abandon any related revisions and keep an eye out for any new bugs we share in the Sidebar matrix channel.
Updated•1 month ago
|
| Assignee | ||
Comment 12•1 month ago
|
||
I made an update to the patch, please review it https://phabricator.services.mozilla.com/D289747
Updated•1 month ago
|
Comment 13•1 month ago
|
||
Comment 14•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
Updated•17 days ago
|
Description
•