Closed Bug 2076547 Opened 2 months ago Closed 1 month ago

Tab group preview opens after keyboard focus has moved off the group label

Categories

(Firefox :: Tabbed Browser: Tab Groups, defect)

defect

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox158 --- wontfix
firefox159 --- wontfix
firefox160 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Focusing a collapsed tab group's label with the keyboard schedules its preview. Moving focus off the label before the delay expires, with an arrow key or by leaving the tab strip, should cancel it, but the preview opens anyway.

cancelTabGroupPreview() in tabs.mjs calls panelOpener.clear() without an argument. Since bug 1980036, clear(from) only cancels when from is the panel that scheduled the open, so this call never cancels anything.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jswinarton)
Assignee: nobody → dao+bmo
Severity: -- → S4
Status: NEW → ASSIGNED
Flags: needinfo?(jswinarton)
Attachment #9650339 - Attachment description: Bug 2076547 - Cancel a pending tab group preview when keyboard focus leaves the group label. r?#tabbrowser-reviewers → Bug 2076547 - Cancel a pending tab group preview when keyboard focus leaves the group label. r?jswinarton!
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/151a358e6a94 https://hg.mozilla.org/integration/autoland/rev/f81113f02327 Cancel a pending tab group preview when keyboard focus leaves the group label. r=tabbrowser-reviewers,jswinarton
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch

The patch landed in nightly and beta is affected.

:dao, please make an uplift decision for beta:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox159 to wontfix if the fix can wait for the next release.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
Flags: needinfo?(dao+bmo)
See Also: → 2090303
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: