Closed Bug 1969461 Opened 2 months ago Closed 2 months ago

shift-tab keyboard navigation through links unexpectedly triggers previews

Categories

(Core :: Machine Learning, defect)

defect
Points:
2

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox139 --- unaffected
firefox140 + verified
firefox141 --- verified

People

(Reporter: Mardak, Assigned: Mardak)

References

(Depends on 1 open bug, Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [genai])

Attachments

(2 files)

[Tracking Requested - why for this release]: pretty annoying for keyboard users moving through the page

this happens as to shift-tab, you'll need to have been holding shift already before pressing tab, and similarly releasing tab to press it again is then just shift key which is the preview trigger so if you're now focusing a link, it gets previewed

Set release status flags based on info from the regressing bug 1962297

Treat tab as typing to ignore with rest of recent typing heuristics. Also catch other unexpected typing and clicks.

See Also: → 1968047
Pushed by elee@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f9fcb4d03b77 https://hg.mozilla.org/integration/autoland/rev/fda014b5613f shift-tab keyboard navigation through links unexpectedly triggers previews r=txia,firefox-ai-ml-reviewers
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

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

For more information, please visit BugBot documentation.

Flags: needinfo?(edilee)

Treat tab as typing to ignore with rest of recent typing heuristics. Also catch other unexpected typing and clicks.

Original Revision: https://phabricator.services.mozilla.com/D251891

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

firefox-beta Uplift Approval Request

  • User impact if declined: accidental preview when shift-tab through links
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: enable browser.ml.linkPreview.enabled then move keyboard focus to a link with shift-tab
  • Risk associated with taking this patch: low
  • Explanation of risk level: reuse existing logic for ignoring typing by including "tab"
  • String changes made/needed: none
  • Is Android affected?: no
Flags: qe-verify+
QA Whiteboard: [uplift] [qa-ver-needed-c141/b140]

Reproduced the issue with Firefox 140.0b4 on Windows 10x64. Using Shift+Tab on a https://www.wikipedia.org/ page will trigger link previews with browser.ml.linkPreview.enabled:true.
The issue is verified fixed with Firefox 141.0a1 (2025-06-03) on Windows 10x64, macOS 12 and Ubuntu 24. The link preview is no longer triggered when using the Shift+Tab keys.

Attachment #9492539 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified fixed with Firefox 140.0b6 from comment 9 on Windows 10x64, macOS 14 and Ubuntu 24. Using Shift+Tab on a https://www.wikipedia.org/ page no longer opens link preview with browser.ml.linkPreview.enabled:true.

Status: RESOLVED → VERIFIED
Has STR: --- → yes
QA Whiteboard: [uplift] [qa-ver-needed-c141/b140] → [uplift] [qa-ver-done-c141/b140]
Flags: qe-verify+
Flags: needinfo?(edilee)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: