Closed Bug 2014334 Opened 3 months ago Closed 1 month ago

Split view does not show colored outline when used as a group target during dragging

Categories

(Firefox :: Tabbed Browser: Split View, defect, P3)

Firefox 149
Desktop
All
defect

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox149 --- wontfix
firefox150 --- wontfix
firefox151 --- fixed

People

(Reporter: mercichao, Assigned: ndukaprincek, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-next-bug, Whiteboard: [fidefe-splitview][outreachy-sidebar-2026])

Attachments

(7 files)

Attached video 2026_02_04_10_17_13.mp4

149.0a1 (2026-02-03)
When dragging a tab over a split view to group it, the split view does not display a colored outline to indicate that it is about to be grouped.

Blocks: 1980370

Confirming this with Firefox 149.0a1 (2026-02-03) on Windows 11 and macOS 26. Thank you!

Status: UNCONFIRMED → NEW
Has STR: --- → yes
QA Whiteboard: [qa-investig-done-c149/b148]
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop
Whiteboard: [fidefe-splitview]
Mentor: nsharpley
Severity: -- → S3
Keywords: good-next-bug
Priority: -- → P3

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help.
    This will tell others that you're working on the next steps.
  2. Download and build the Firefox source code
  3. Start working on this bug.
    • If you have any problems with this bug,
      please comment on this bug and set the needinfo flag for me.
      Also, you can find me and my teammates on the #sidebar channel on
      Element/Matrix
      most hours of most days.
  4. Build your change with mach build and test your change with
    mach test browser/components/tabbrowser/test/browser.
    Also check your changes for adherence to our style guidelines by using mach lint
  5. Submit the patch (including an automated test, if applicable) for review.
    Mark me as a reviewer so I'll get an email to come look at your code.
  6. After a series of reviews and changes to your patch,
    I'll mark it for checkin or push it to autoland.
    Your code will soon be shipping to Firefox users worldwide!
  7. ...now you get to think about what kind of bug you'd like to work on next.
    Let me know what you're interested in and I can help you find your next contribution.

Hi, would love to work on this!

Hi, I want to help out with this bug

Hi, I'd like to volunteer to work on this bug.
I have already set up my local Firefox build and
am ready to start working on it.

I have reproduced the issue locally and confirmed that no colored outline appears on the tab-split-view-wrapper when dragging a tab over it to create a group.

The fix adds a CSS rule for tab-split-view-wrapper[dragover-groupTarget] using the existing --tab-dragover-outline-color variable and --tab-border-radius to stay consistent with the rest of the tab strip drag and drop visual feedback system.

Patch submitted for review on Phabricator:
https://phabricator.services.mozilla.com/D289104

Additional Finding:
While investigating this bug, I also noticed that the colored outline is missing in a second scenario — when dragging a tab over a split view wrapper that already belongs to an existing tab group (movingtab-addToGroup state). The current patch only addresses the initial grouping scenario as described in the bug. I wanted to flag this as a potential follow-up fix — should I include it in this patch, or would you prefer it as a separate bug?

Looking forward to your feedback!

Flags: needinfo?(nsharpley)
Attached video before screenshot
Attachment #9555881 - Attachment description: after → before screenshot
Attached video after screen recording
Attachment #9555881 - Attachment mime type: video/quicktime → video/mp4
Attachment #9555882 - Attachment mime type: video/quicktime → video/mp4
Attached video 2026_03_22_23_12_17.mp4

Honestly, I expect it to have the same look and feel as grouping with normal tabs, for consistency.

Thank you for the feedback. I will update the patch to match the same look and feel as normal tabs when being grouped.

Flags: needinfo?(mercichao)
Flags: needinfo?(mercichao)
Attached video output.mp4

Please see the attached video demonstrating the updated behavior. Kindly confirm if this looks good so I can proceed with submitting the patch for review.

Flags: needinfo?(mercichao)

(In reply to konyhéa from comment #11)

Created attachment 9555888 [details]
output.mp4

Please see the attached video demonstrating the updated behavior. Kindly confirm if this looks good so I can proceed with submitting the patch for review.

Just in case, you may also want to check it in light theme. By the way, I’m not a member of the Firefox team, just a regular user, so it’s better to let the team confirm whether it’s good or not. I guess I just came here to report the bug and share some thoughts.

Flags: needinfo?(mercichao)
Attached image Region.png

(In reply to konyhéa from comment #11)

Created attachment 9555888 [details]
output.mp4

Please see the attached video demonstrating the updated behavior. Kindly confirm if this looks good so I can proceed with submitting the patch for review.

  1. In your screen recording, there’s a weird dark line under the upper outline. Maybe it’s just due to the video quality.
  2. The separator in the split view doesn’t connect to the outline. I’m not sure how it’s supposed to be designed.

When dragging a tab over a tab-split-view-wrapper to group it, no colored outline was displayed to indicate that the split view was about to become a group target. This was because no CSS rule existed for tab-split-view-wrapper[dragover-groupTarget], unlike
individual tabs and tab group labels, which already had this visual feedback implemented.

This patch adds an outline to tab-split-view-wrapper when the dragover-groupTarget attribute is set during a drag operation, using the existing --tab-dragover-outline-color variable and --tab-border-radius to stay consistent with the rest of the tab strip drag and drop visual feedback system.

Assignee: nobody → ndukaprincek
Status: NEW → ASSIGNED
Whiteboard: [fidefe-splitview] → [fidefe-splitview][outreachy-sidebar-2026]
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d418ae709360 https://hg.mozilla.org/integration/autoland/rev/5a92b7f57bed add outline to tab-split-view-wrapper when used as a drag group target r=nsharpley,desktop-theme-reviewers,tabbrowser-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(ndukaprincek)
Flags: needinfo?(nsharpley)
Flags: needinfo?(ndukaprincek)
QA Whiteboard: [qa-investig-done-c149/b148] → [qa-investig-done-c149/b148] [qa-triage-done-c152/b151] [qa-ver-needed-c152/b151]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: