AI chatbot shortcut should be disabled if AI chatbot feature is turned off
Categories
(Core :: Machine Learning: General, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr128 | --- | unaffected |
| firefox134 | --- | unaffected |
| firefox135 | --- | wontfix |
| firefox136 | --- | verified |
| firefox137 | --- | verified |
People
(Reporter: arai, Assigned: arai)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
Steps to reproduce:
- Run Firefox Nightly 135.0a1 (2024-12-18) (aarch64) on macOS with clean profile
- open
about:preferences#experimentaland ensure the "AI chatbot" checkbox is not checked - hit ctrl+x
- hit ctrl+x again
Actual result:
In the step 3, the "AI Chatbot" sidebar is opened, and the "AI chatbot" checkbox in the about:preferences#experimental is checked
In the step 4, the "AI Chatbot" sidebar is closed, and the "AI chatbot" checkbox remains checked.
Expected result:
The ctrl+x does nothing as long as the "AI chatbot" checkbox is not checked.
Comment 1•10 months ago
|
||
The severity field is not set for this bug.
:tarek, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 2•9 months ago
|
||
According to the code added by bug 1905027, it's intentional that the shortcut is enabled even if the feature is disabled and the feature is enabled by the shortcut,
and also there's telemetry for the usage whether the pref was enabled or not.
Then, the bug's STR explicitly mentions "Enable the AI Chat integration" as a preparation. so enabling the pref on shortcut doesn't match what the bug is about.
Can we revisit the decision there?
| Assignee | ||
Comment 3•9 months ago
|
||
This behavior is causing another trouble that the AI chatbot menu item is shown in the context menu whenever I accidentally hit ctrl+x, and it's kept shown until I manually flip the pref. Even if the immediate action for the shortcut is "open a sidebar", closing the sidebar doesn't reset the state.
IMO, having a shortcut key with this consequence isn't much intuitive.
| Assignee | ||
Updated•9 months ago
|
Comment 4•9 months ago
|
||
Set release status flags based on info from the regressing bug 1905027
| Assignee | ||
Comment 5•9 months ago
|
||
Given the chatbot feature is now enabled by default, the pref being disabled
means explicitly turned off. The shortcut key shouldn't turn it back to on.
Updated•9 months ago
|
Comment 6•9 months ago
|
||
sounds reasonable given that it's enabled by default now
Comment 9•9 months ago
|
||
:arai does this need a beta uplift request for Fx136 or should it ride the train with Fx137?
| Assignee | ||
Comment 10•9 months ago
|
||
Given the feature is enabled by default by bug 1933524 patch, which targets 136, it would be nice to fix this on 136 as well,
but I'd like to ask Mardak for the decision, given there's also telemetry around the branch.
Comment 11•9 months ago
|
||
The patch landed in nightly and beta is affected.
:arai, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox136towontfix.
For more information, please visit BugBot documentation.
Comment 12•9 months ago
|
||
yeah we can uplift to 136 as that's where we've enabled by default and will keep in mind when analyzing the telemetry
| Assignee | ||
Comment 13•9 months ago
|
||
Given the chatbot feature is now enabled by default, the pref being disabled
means explicitly turned off. The shortcut key shouldn't turn it back to on.
Original Revision: https://phabricator.services.mozilla.com/D236477
Updated•9 months ago
|
Comment 14•9 months ago
|
||
beta Uplift Approval Request
- User impact if declined: Shortcut key enables the AI chatbot feature even after explicitly turned off
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: none
- Risk associated with taking this patch: low
- Explanation of risk level: This behavior is observed only when hitting shortcut key after turning off the AI chatbot feature explicitly from config
- String changes made/needed: none
- Is Android affected?: no
| Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
Comment 15•9 months ago
|
||
| uplift | ||
Updated•9 months ago
|
Comment 16•9 months ago
|
||
This issue still occurs in our latest Nightly build , The Shortcut for the Ai Chat on Windows is Ctrl+Alt+X and it still opens the AI chat panel even if the tool is unchecked from Settings, @Tooru can you take a look at this ?
Comment 17•9 months ago
|
||
this is for the old sidebar (so no checkbox to uncheck). it would need to be turned off via about:config browser.ml.chat.enabled
i'm seeing the desired behavior on nightly and beta
Comment 18•9 months ago
|
||
Since this is about the old sidebar I can Confirm that its verified as Fixed in our latest Nightly as well as beta 136.0b4
Description
•