brave-browser: Ctrl+A does not "Select all" inside an input field

Description

Pressing Ctrl +A inside an input field behaves like home key and moves the cursor to the beginning of the text, instead of selecting everything inside the input field.

Steps to reproduce

  1. Open any page with an input field
  2. Type in some text
  3. Press Ctrl+A

Actual result

The cursor jumps to the beginning of the line

Expected result

All text inside the input field is selected

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave 1.78.102 Chromium: 136.0.7103.113 (Official Build) (64-bit) Revision 9161158db1676f5fb4a6e048cc98d776dcbf9bad OS Linux

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

I have a sync setup between a Linux and a MacOS machine, and I thought that maybe the shortcut got messed up somehow, but I can’t find this shortcut at all under brave://settings/system/shortcuts. Still, thought I’d mention it since it could be relevant. I can confirm if this is reproducible on MacOS as well as soon as I get to it.

UPD: On MacOS, using cmd+A selects all text in the field. Using Ctrl+A behaves the same way as on Linux (moves the cursor to the beginning of the line). So it does seem like a shortcut got synced from Mac to Linux and overwritten the default behavior. However, I don’t see any shortcuts assigned to Ctrl+A

Image

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 18 (4 by maintainers)

Most upvoted comments

Thanks for the tip @jyungtong ! I also use surfingkeys. Will try your workaround once I’m at my linux pc 👍 I think this can be closed then.

UPD: the above fixed it on my end as well! Thanks a lot for posting the solution!

Thanks for following up on this @serpro69 - would be great to help solve this

I am trying this right now in the GitHub Add a comment text field… I’m on Windows. Pushing <kbd>Ctrl</kbd> + <kbd>A</kbd> seems to select all inside the box - let me grab a picture

Image

I don’t see the cursor move anywhere - I’m a bit confused on that one. Just to understand more, you’re on Linux right? If I hit left arrow it will move to beginning of selection and if I hit right arrow it moves to end of selection - this is expected behavior.

cc: @fallaciousreasoning @fmarier in case they can reproduce also