Using Shift while typing unexpectly triggers Link Preview on Windows
Categories
(Core :: Machine Learning: General, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr128 | --- | unaffected |
| firefox138 | --- | unaffected |
| firefox139 | --- | unaffected |
| firefox140 | + | verified |
People
(Reporter: saschanaz, Assigned: Mardak)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression, Whiteboard: [genai])
Attachments
(1 external file)
- Open Bugzilla
- Click the comment box
- Put the mouse cursor over a link
- Type anything including capital letters
Expected: No interrupt while typing
Actual: Typing a capital letter with Shift triggers link preview
This further affects Korean input as opening Link Preview breaks the ongoing composition. (Trying to type "계" becomes "ㄱㅖ" for example.)
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1962297
:Mardak, since you are the author of the regressor, bug 1962297, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
yeah, i've been accidentally triggering when typing in urls that need shift-;, e.g., about:config
you can turn off the shortcut from about:preferences#general-link-preview since today's 20250518091432 (or just go to about:config browser.ml.linkPreview.shift)
i wonder if ignoring keyboard shortcuts if there's been recent typing (and not just keyboard modifiers) would avoid accidentally triggering?
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Track recent typing and ignore shortcut if within pref controlled 1000ms.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Updated•1 year ago
|
Reproduced the issue with Firefox 140.0a1 (2025-05-18). Using the Shift key while typing inside a text area while the mouse cursor is hovering over a link will trigger link preview.
Unfortunately, I can still reproduce this issue on Windows 10x64 with 140.0b2 if I hover a link and then press the Shift key. This only occurs if I select the text field, then quickly press the Shift key after hovering over the link. However, if I click inside the text field, hover over the link, wait a moment, and then press Shift, the link preview doesn't appear. Is this the expected behavior, or should we open a new issue? Thank you!
| Assignee | ||
Comment 7•1 year ago
|
||
that matches up with the heuristics of detecting typing while still allowing previews on new links. we can still file a new issue to track the cases that it still triggers: quickly pressing shift after hovering before typing
(In reply to Ed Lee :Mardak from comment #7)
that matches up with the heuristics of detecting typing while still allowing previews on new links. we can still file a new issue to track the cases that it still triggers: quickly pressing shift after hovering before typing
Thank you! I have filed bug 1969404 for the remaining issue. Closing this as verified. Selecting a text field and pressing the Shift key after some time will no longer open Link Preview on Windows 10x64, macOS 12, and Ubuntu 24 with Firefox 140.0b2.
Description
•