Closed Bug 1911748 Opened 7 months ago Closed 7 months ago

Chatbot: too much insistent -> shortcuts Icon every where ( when using the touchpad )

Categories

(Core :: Machine Learning, defect)

Firefox 131
defect

Tracking

()

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

People

(Reporter: FredM, Assigned: Mardak)

References

Details

(Whiteboard: [genai])

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Steps to reproduce:

On the today nightly build firefox / windows 11. 131.0a1 (2024-08-05) (64 bits)

It s annoying
On every site, click left any where, if there is the icon LeChat

I've seen the icon persist on a new tab also with ChatGPT, but can't reproduce consistently.

Component: Untriaged → Machine Learning
Product: Firefox → Core

The current shortcuts behavior in nightly 131 with bug 1911173 is to show the icon after selecting some text, and it goes away when scrolling the page or deselecting since the original bug 1905750. The icon does stay when switching back to the original tab, but opening a new tab shouldn't have the icon shown.

In the meantime, you can go to about:preferences#experimental and uncheck "Show prompts on text select"

Blocks: 1900914
Depends on: 1905750
See Also: → 1911173
Summary: Le chat AI : too much insistent -> Icon Le chat every where → Chatbot: too much insistent -> shortcuts Icon every where

But I click anywhere, without selecting a text.
And this is appearing :

The icon was not present yesterday.

Ah yes, a change with bug 1911173 is to also show it on a long press. Are your usual clicks always showing it or only if you press and hold the click? It is a short 200ms timer though (i.e., shorter than 200ms between mousedown to mouseup should not show the shortcuts).

Oh interesting. I also see the icon appear when I click in bugzilla on a name to see the in-page popup (Profile, Copy Name, Activity…) then clicking away. Seems like there's something wrong with the time check.

You are right, the issue is specific to the touchpad of the laptop

It doesn't appear with the mouse

Summary: Chatbot: too much insistent -> shortcuts Icon every where → Chatbot: too much insistent -> shortcuts Icon every where ( when using the touchpad )
Assignee: nobody → edilee
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9417992 - Attachment description: Bug 1911748 - Chatbot: too much insistent -> shortcuts Icon every where ( when using the touchpad ) r=tarek! Allow the delay to be pref controlled with a higher default 200 -> 500ms. → Bug 1911748 - Chatbot: too much insistent -> shortcuts Icon every where ( when using the touchpad ) r=tarek!
See Also: → 1911888
Whiteboard: [genai]
Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16c6fd55aeb9 Chatbot: too much insistent -> shortcuts Icon every where ( when using the touchpad ) r=tarek

The patch is turning off the long-press behavior for now as we don't really have selection-less prompts yet, and in addition to OP's trackpad clicks appearing longer and scrollbar drags, this is also causing accidental shortcuts for situations where we're currently unable to get the selection, e.g., google docs/slides, input/textarea

Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch

[Tracking Requested - why for this release]: Uplifting bug 1911173 can show the shortcuts too frequently with clicks without a selection

Depends on: 1911173
Flags: qe-verify+
Status: RESOLVED → VERIFIED

Allow the long press delay to be pref controlled with a higher default 200ms -> 60s effectively turning it off. Record the delay with glean.

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

Depends on D218869

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

beta Uplift Approval Request

  • User impact if declined: optional chatbot shortcuts can appear more frequently than desired
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: enable chatbot with provider from labs, trigger shortcuts, e.g., select text
  • Risk associated with taking this patch: low
  • Explanation of risk level: default off behind firefox labs checkboxes with shortcuts depending on users to select text
  • String changes made/needed: no
  • Is Android affected?: no
Attachment #9418382 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Updating the remaining flags for our latest Nightly build as well as Beta 130.0b3. This issue is verified as fixed.

Flags: qe-verify+
See Also: → 1913587
Blocks: 1913587
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: