Switching Tabs sidebar assistant incorrectly restores cleared chat, other chat followups, generally wrong state
Categories
(Core :: Machine Learning: Frontend, defect, P1)
Tracking
()
People
(Reporter: rdoghi, Assigned: ngrato)
References
(Blocks 1 open bug)
Details
(Whiteboard: [genai][chat])
Attachments
(3 files)
Found in
- Nightly 149.0a1 (2026-02-11)
Affected versions
- Nightly 149.0a1 (2026-02-11)
Affected platforms
- All
Steps to reproduce
- Open a Smart Window and ask the assistant to provide links to an Amazon website.
- Reach a Website in a different tab.
- Continue the conversation for the amazon website in the Sidebar.
- Select the New Chat button in order to clear the conversation.
- Change to a different tab and then back on the tab with the amazon website.
Expected result
- The Chat sidebar should be empty.
Actual result
- The previous chat is restored even though a user selected the New chat option before switching tabs.
Regression range
N/A
Updated•6 months ago
|
Found in
Nightly 149.0a1 (2026-02-11)
Affected versions
Nightly 149.0a1 (2026-02-11)
Affected platforms
All
Steps to reproduce
Open a Smart Window and ask the assistant to provide links to an Amazon website.
Reach a Website in a different tab.
Continue the conversation for the amazon website in the Sidebar.
Select the New Chat button in order to clear the conversation.
Change to a different tab and then back on the tab with the amazon website.
Expected result
The Chat sidebar should be empty.
Actual result
The previous chat is restored even though a user selected the New chat option before switching tabs.
Regression range
N/A
| Reporter | ||
Comment 3•6 months ago
|
||
This issue still occurs in our latest Build 149.0a1 (2026-02-20) ID 20260220092058
Updated•6 months ago
|
| Reporter | ||
Comment 4•6 months ago
|
||
Please also note that even if the user starts a different conversation and switches tabs, the previous conversation would be restored instead of current on going conversation and because of this qa considers this issue an s2. I will update the tag.
| Reporter | ||
Updated•6 months ago
|
Comment 7•6 months ago
|
||
Reverted this because it was causing mochitests failures in browser_smartwindow_tab_switching.js.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | test_tab_switch_shows_starters_for_empty_conversation - Uncaught exception in test - Starters should still display on repeated switch to empty conversation - timed out after 50 tries.
Comment 10•6 months ago
|
||
Backed out for causing failures at browser_smartwindow_tab_switching.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/8ab5ae3cc678
Push where failures started: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=95f9505bf5d75bd10278068b7d13a329d3b6f70a&selectedTaskRun=DeBBvdtbSs-5vZCUqqtr8Q.0
Failure log: https://treeherder.mozilla.org/logviewer?job_id=550906723&repo=autoland&task=DeBBvdtbSs-5vZCUqqtr8Q.0&lineNumber=9143
Comment 11•6 months ago
|
||
Comment 12•6 months ago
|
||
| bugherder | ||
| Reporter | ||
Comment 13•6 months ago
|
||
Verified as fixed in our latest Nightly 150.0a1 (2026-03-02)
Updated•5 months ago
|
Description
•