brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.53k stars 2.27k forks source link

Pressing the Leo button should put the mouse focus into the "prompt bar" #38703

Open mrose17 opened 3 months ago

mrose17 commented 3 months ago

Description

Click the Leo button and the Leo side-banner shows up. The mouse remains unfocused. If you aren't watching the screen, then your keystrokes go into oblivion. Instead, you must move the mouse down to the prompt bar and click in it, and then go to the keyoard. I'd really like to avoid having to move the mouse and click again before I can talk to Leo!

Steps to reproduce

  1. Open Leo to open the Leo sidebar.
  2. Start typing without further mouse interaction.

Actual result

Keystrokes go nowhere.

Expected result

Keystrokes show up in the prompt bar.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Version 1.68.55 Chromium: 126.0.6478.17 (Official Build) nightly (arm64)](https://brave.com/latest/)

Channel information

Reproducibility

Miscellaneous information

No response

mrose17 commented 3 months ago

cc: @mattmcalister

aguscruiz commented 3 months ago

This one is for @nullhook

perguto commented 1 week ago

@mrose17 Not a solution, but as a workaround you can press Shift + Tab three times.

mrose17 commented 1 week ago

Thank you! Well, i figured out that CMD-B on the mac usually opens the tab, but shift+tab x3 doesn't move the mouse to the prompt buffer. (at least not when i'm in github...)

i look forward to this being done automatically (perhaps with an option to turn it on).

rebron commented 1 week ago

+1 from @bishopdotbox

rebron commented 1 week ago

+1 from @gnukeith