Closed Bug 2068234 Opened 1 month ago Closed 12 days ago

[Fitts' Law] Split View tabs are not selectable from the edge of the tab strip

Categories

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

defect

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: jsudiaman, Assigned: dao)

References

Details

(Whiteboard: [fidefe-splitview][fidefe-post-nova])

Attachments

(2 files, 1 obsolete file)

Attached video Click Target Demo.mov —

Tabs in a split view cannot be selected from the visual margins of their "wrapper", unlike normal tabs.

Happens for both horizontal and vertical tabs, in both Proton and Nova.

Severity: -- → S2
Priority: -- → P2
Whiteboard: [fidefe-splitview] → [fidefe-splitview][fidefe-post-nova]
Assignee: nobody → kcochrane
Status: NEW → ASSIGNED
Severity: S2 → S3
Priority: P2 → P1

An alternative to D326755 that gives a split view tab the same shape as a plain tab: the tab's own box reaches the edge of the tab strip through a negative margin and matching padding, and the tab stack takes over the divider and the inline padding the tab held before.

Behavior-neutral apart from the hit area: the background, content, wrapper and group line boxes measure the same across densities, pixel ratios, Nova and Proton, and D326755's test passes unchanged against it.

Attachment #9643659 - Attachment is obsolete: true
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3140419d11c4 https://hg.mozilla.org/integration/autoland/rev/70ad4fc723cf Make split view tabs selectable from the edge of the tab strip. r=kcochrane,desktop-theme-reviewers,tabbrowser-reviewers
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9219bc7aff2d https://hg.mozilla.org/integration/autoland/rev/53c77f97d534 Revert "Bug 2068234 - Make split view tabs selectable from the edge of the tab strip. r=kcochrane,desktop-theme-reviewers,tabbrowser-reviewers" for causing bc tests failures at drag_splitview.js

Backed out for causing bc tests failures at drag_splitview.js
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | browser/components/tabbrowser/test/browser/dragdrop/browser_drag_splitview.js | test_dragstart_below_splitview_does_not_grab - Uncaught exception in test - Error: drag has been started by the operation

Flags: needinfo?(kcochrane)
Flags: needinfo?(kcochrane) → needinfo?(dao+bmo)
Assignee: kcochrane → dao+bmo
Attachment #9644412 - Attachment description: Bug 2068234 - Make split view tabs selectable from the edge of the tab strip. r?kcochrane! → Bug 2068234 - Make split view tabs selectable from the edge of the tab strip. r=kcochrane,desktop-theme-reviewers,tabbrowser-reviewers
Flags: needinfo?(dao+bmo)
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d7e6867ae05f https://hg.mozilla.org/integration/autoland/rev/d972488b9886 Make split view tabs selectable from the edge of the tab strip. r=kcochrane,desktop-theme-reviewers,tabbrowser-reviewers
Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
QA Whiteboard: [qa-triage-done-c159/b158]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: