Chatbot: too much insistent -> shortcuts Icon every where ( when using the touchpad )
Categories
(Core :: Machine Learning, defect)
Tracking
()
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
Comment 1•7 months ago
|
||
I've seen the icon persist on a new tab also with ChatGPT, but can't reproduce consistently.
Assignee | ||
Comment 2•7 months ago
|
||
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"
But I click anywhere, without selecting a text.
And this is appearing :
Assignee | ||
Comment 6•7 months ago
|
||
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).
Assignee | ||
Comment 7•7 months ago
|
||
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
Assignee | ||
Comment 9•7 months ago
|
||
Updated•7 months ago
|
Updated•7 months ago
|
Assignee | ||
Updated•7 months ago
|
Updated•7 months ago
|
Comment 10•7 months ago
|
||
Assignee | ||
Comment 11•7 months ago
•
|
||
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
Comment 12•7 months ago
|
||
bugherder |
Assignee | ||
Comment 13•7 months ago
|
||
[Tracking Requested - why for this release]: Uplifting bug 1911173 can show the shortcuts too frequently with clicks without a selection
Updated•7 months ago
|
Comment hidden (off-topic) |
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Comment 15•7 months ago
|
||
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
Updated•7 months ago
|
Comment 16•7 months ago
|
||
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
Updated•7 months ago
|
Updated•7 months ago
|
Comment 17•7 months ago
|
||
uplift |
Comment 18•7 months ago
|
||
Updating the remaining flags for our latest Nightly build as well as Beta 130.0b3. This issue is verified as fixed.
Updated•7 months ago
|
Description
•