Open Bug 1958037 Opened 22 days ago Updated 21 days ago

Opening window with the "AI Chatbot" sidebar open steals focus from URL bar

Categories

(Core :: Machine Learning, defect)

defect

Tracking

()

People

(Reporter: nika, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai])

STR:
If you open a new window with ctrl-N while the AI Chatbot sidebar is opened and on the welcome flow ("Summarize, brainstorm, and more as you browse"), while focus initially is placed in the URL bar, it is stolen when the sidebar content finishes loading, meaning if you start typing the text will not be entered into the URL bar.

ER: Focus remains in the URL bar, as it does when the sidebar is closed
AR: Focus is moved (presumably into the sidebar), meaning text input fails

Component: Sidebar → Machine Learning
Product: Firefox → Core

looks like this happens when we show the chatbot onboarding/welcome flow but not if a provider is selected. offhand not sure if there's an onboarding configuration to proactively grab focus, but the usual flow of opening the chatbot the first time, e.g., clicking sidebar icon, does want focus to move

i suppose there could be a question of whether the chatbot should also open when opening a new window as that's the default behavior for new windows getting the same sidebar

Blocks: 1922413
Severity: -- → S3
Whiteboard: [genai]
You need to log in before you can comment on or make changes to this bug.