Closed Bug 1962696 Opened 6 months ago Closed 6 months ago

Collapsed vertical tabs can be dragged from the mute/close button without becoming active which confuses tab grouping

Categories

(Firefox :: Tabbed Browser, defect, P1)

Firefox 138
defect
Points:
1

Tracking

()

VERIFIED FIXED
140 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox137 --- unaffected
firefox138 --- wontfix
firefox139 --- verified
firefox140 --- verified

People

(Reporter: ke5trel, Assigned: dao)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-tabgrps-dnd])

Attachments

(5 files)

STR:

  1. Enable vertical tabs and collapse the sidebar.
  2. Drag an inactive tab from its close button, outside the tab area so it does not become active when dragged.
  3. Drag it over another tab to create a group.

Expected:
Tab becomes active when dragged and shows grouping indicator regardless where it was dragged from.

Actual:
Tab remains inactive when dragging and grouping indicator shown on active tab instead of dragged tab. The final tab group includes the dragged tab and the underlying tab even though the grouping indicator suggested otherwise.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=68d1a44fdef33f1256471aa630bebf080599dd4e&tochange=fdc1c87c70f2a9e1eea62291478ba1e3a4a5906f

Regressed by Bug 1953249.

:dao, since you are the author of the regressor, bug 1953249, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)

It shouldn't be possible to drag a tab from its close button. I don't think bug 1953249 broke this.

Keywords: regression
No longer regressed by: 1953249
Whiteboard: [fidefe-sidebar]
Flags: needinfo?(dao+bmo)
Blocks: 1933479

The mute button can also be dragged without making the tab active with the same regressor. Almost a quarter of the tab area is occupied by the mute button, making it easy to drag unintentionally (previous implementations filled the entire favicon). If the mute button was not draggable it would make it much harder to drag tabs.

Re-adding Bug 1953249 as regressor in light of this new information.

Blocks: 1921060
Keywords: regression
Regressed by: 1953249
Summary: Collapsed vertical tabs can be dragged from their close button without becoming active which confuses tab grouping → Collapsed vertical tabs can be dragged from the mute/close button without becoming active which confuses tab grouping
Severity: -- → S3
Points: --- → 1
Priority: -- → P1
Whiteboard: [fidefe-sidebar] → [fidefe-tabgrps-dnd]
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff2fbec45e28 Explicitly select the dragged tab. r=jswinarton,tabbrowser-reviewers
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch

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

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
Flags: qe-verify+
Flags: needinfo?(dao+bmo)
Flags: in-testsuite-
QA Whiteboard: [qa-ver-needed-c140/b139]
QA Contact: rdoghi

This issue is verified as fixed in our latest Nightly 140.0a1 (2025-04-30) . Please let me know if its not intended behavior to be able to move those tabs from the Mute button and I will log a separate issue for it.

Attachment #9485386 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

Attachment #9485386 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-ver-needed-c140/b139] → [uplift][qa-ver-needed-c140/b139]

Hi @Dao can you take a look at this issue, I can reproduce this issue now in both latest Beta as well as our latest Nightly build. I think it happens intermittently, please take a look at the screen recording. In the Older build with the fix I could not drag the tabs at all but I think its an intermittent issue. In our latest Beta 139.0b5 the tabs always move when we are dragging the X Close button.

Flags: needinfo?(dao+bmo)

Please disregard the previous comment. This issue is verified as fixed in our latest 139.0b5 , whenever we start to move a tab from the X Close button it will be displayed as active. I came across a separate issue which I will file in a second while testing this fix and I thought they might be related.

Dao cleared this up for me on Slack. Thank you.

Flags: needinfo?(dao+bmo)

Updating the remaining flags.

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift][qa-ver-needed-c140/b139] → [uplift][qa-ver-done-c140/b139]
Flags: qe-verify+
See Also: → 1952705
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: