Closed Bug 1911888 Opened 2 months ago Closed 2 months ago

if text selected somewhere on page and a link clicked with middle mouse button/mousewheel (to open it in a new tab), generative AI popup button gets shown but shouldn't

Categories

(Core :: Machine Learning, defect)

defect

Tracking

()

VERIFIED FIXED
131 Branch
Tracking Status
firefox129 --- disabled
firefox130 + verified
firefox131 --- verified

People

(Reporter: aryx, Assigned: Mardak)

References

Details

(Whiteboard: [genai])

Attachments

(2 files)

Firefox 131.0a1 20240805215935 on Windows 10

If there is text selected somewhere on the page and a link gets clicked with the middle mouse button/mousewheel to open it in a new tab, a new tab gets opened but also a generative AI popup button gets shown but shouldn't.

Summary: if text selected somewhere on page and a link clicked with middle mouse button/mousewheel (to open it in a new tab), generative AI popup button gets shown but shouldn't → if text selected somewhere on page and a link clicked with middle mouse button/mousewheel (to open it in a new tab), generative AI popup button gets shown but shouldn't; also if mouse moves with no text selected during click
Blocks: 1900914
Depends on: 1911173

Perhaps we should ignore any modified non-primary mouse clicks, e.g., ignore when shift or other buttons?

The no selected text is handled as a long click for potentially supporting upcoming selection-less prompts, e.g., summarize page. The delay for determining it's a long click is getting bumped up from 200ms to 500ms with bug 1911748.

See Also: → 1911748
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Summary: if text selected somewhere on page and a link clicked with middle mouse button/mousewheel (to open it in a new tab), generative AI popup button gets shown but shouldn't; also if mouse moves with no text selected during click → if text selected somewhere on page and a link clicked with middle mouse button/mousewheel (to open it in a new tab), generative AI popup button gets shown but shouldn't
Whiteboard: [genai]
Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6969dc91e754 if text selected somewhere on page and a link clicked with middle mouse button/mousewheel (to open it in a new tab), generative AI popup button gets shown but shouldn't r=tarek
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch

[Tracking Requested - why for this release]: Uplifting bug 1911173 can show the shortcuts too frequently on other types of mouse clicks

Flags: qe-verify+

This issue is Verified as fixed in our latest Nightly build 131.0a1 (2024-08-08)

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

Verified as fixed in our latest Beta 130.0b3

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: