-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to customize keyboard shortcuts #30840
Comments
Note for QA: It's a known issue that pressing |
@fallaciousreasoning @rebron should this issue be closed? I believe at this point we basically have everything merged into Should #354 also be closed at this point? CCing @LaurenWags |
I think we can close this and #354, but let's have @rebron confirm. Thanks for all the uplifts/testing @kjozwiak & @LaurenWags! |
if we close this one out for 1.56.x we should have a test plan for it - we've verified various issues as listed above but afaik we still don't have a feature test plan, only the individual issues. I believe @rebron mentioned he'd work with you @fallaciousreasoning to get a test plan together? |
Added a test plan to this issue 😄 Let me know if you think there's anything missing |
@fallaciousreasoning is there anything Windows (or Linux) specific we should be aware of when testing this one? cc @brave/qa-team |
Verification
|
brave://flags |
brave://settings/system/shortcuts |
---|---|
Ensure (pre)existing shortcuts continue to work - PASSED
Ensured all of the following commands' keybindings/shortcuts worked:
New tab
-command
+T
New window
-command
+N
Focus location bar
-command
+L
Bookmark this tab
-command
+D
Back
-command
+{
Forward
-command
+}
Add new shortcuts to existing commands - PASSED
(continued from Shared Steps
)
Back
binding - PASSED
Steps:
- clicked on
Add
next toBack
- pressed
delete
(Backspace
) - clicked
Save
- confirmed
Back
showed two keybindings/shortcuts - confirmed both worked
- scrolled all the way down and clicked on
Reset all to defaults
- confirmed the added shortcut was removed
- confirmed
command
+[
still navigated backwords
example | example | example | example | example | example |
---|---|---|---|---|---|
(continued from Shared Steps
Forward
binding - PASSED
Steps:
- clicked on
Add
next toForward
- pressed
command
+left arrow
- clicked
Save
- confirmed
Forward
showed two keybindings/shortcuts - confirmed they both navigated forwards
example | example | example |
---|---|---|
Remove added shortcuts - PASSED
Steps:
- added
command
+left arrow
toBack
- added
command
+right arrow
toForward
- confirmed both worked
- confirmed both had
Reset
next toAdd
, now - hovered over both
command
+left arrow
& command+
right arrow` - confirmed both had
-
- clicked on them
- confirmed
Reset
disappears for both, as they are now back to their defaults
example | example | example | example |
---|---|---|---|
Add new shortcuts as a new command - PASSED
Steps:
(continued from Shared Steps
)
- searched for
pin tab
- clicked
Add
- pressed
control
+P
- clicked
Save
- pressed
control
+P
- confirmed the current tab became pinned
example | example | example | example |
---|---|---|---|
Unable to change system-level commands/key bindings - PASSED
(continued from Shared Steps
)
Steps:
- searched for
back
- confirmed no ability to remove the keybinding shortcut of
command
+[
- clicked on
Add
for the next binding - tried to bind using
command
+[
- confirmed I got an error about it being a system shortcut, and where to modify it, in
System Settings
- also confirmed with
Print
,Copy
, etc.
example | example | example | example |
---|---|---|---|
Adding duplicate shortcuts - FAILED
(continued from Shared Steps
)
- clicked on
Add
next toWeb app info
- pressed
Command
+D
- clicked
Save
- pressed
Command
+D
Expected:
Should open Web app info
/ not be allowed to be assigned as a shortcut
Actual:
Able to visibly create the assigned shortcut for Web app info
, but it still works as regular Bookmark Tab
example | example | example |
---|---|---|
NOTE: Retest with latest nightly
build after #31552 lands
Tested using
Brave | 1.56.3 Chromium: 115.0.5790.75 (Official Build) (x86_64)
-- | --
Revision | 3433e4d513e8454ba0243deea3d53693661dc0c3-refs/branch-heads/5790@{#1430}
OS | macOS Version 11.7.8 (Build 20G1351)
Reset all commands - PASSED
(continued from Shared Steps
)
Steps:
- assigned non-conflicting shortcuts to previously unassigned commands (
Password Manager
-Show app menu
) - confirmed they worked
- scrolled down to the bottom
- clicked on
Reset all to defaults
- scrolled back up
- confirmed shortcuts for
Password Manager
-Show app menu
were reset and unassigned - confirmed the previous shortcuts no longer worked
example | example | example |
---|---|---|
Light
mode - PASSED
Logged/encountered:
- Several keys/key presses are dropped/missing, on a multi-line, custom shortcut #31577
command
+T
(macOS) &control
+T
(Windows
) keypresses open new tabs, when trying to assign as shortcuts #31578Backspace
and other lengthy text overflows its fixed borders #31482- Shortcut for
New window
showsCommand
+NumDecimal
, rather thanCommand
+N
#31552
Nope, there's just the MacOS thing, where some shortcuts can't be edited. |
Verification PASSED on
Shared Steps:
Ensure (pre)existing shortcuts continue to work - Ensured all of the following commands' keybindings/shortcuts worked:
Added Add new shortcuts to existing commands - (continued from
Steps:
(continued from
Steps:
Remove added shortcuts -
(continued from `Shared Steps`)
Steps:
Add new shortcuts as a new command - Steps:(continued from
Reset all commands - |
Description
Provide a way for users to see via a list and to find via a search field, all the available keyboard shortcuts. Users should be able to easily add/remove, edit existing keyboard shortcuts and create new ones.
Keyboard shortcuts should be made available here: brave://settings/system/ and brave://settings/system/shortcuts
Expected result:
https://www.figma.com/file/tLXWGCpNoiJxDZDdpfordj/Desktop-Settings?node-id=3617-77370&t=HKTZrtO87yiUZkol-0
Brave version (brave://version info)
Targeting 1.56.x
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
Related issues:
Dark
mode need to be like mockup #30757Dark
-mode treatment #308951.56.x uplift PR:
brave/brave-core#18780
To make life easier for @kjozwiak we're going to uplift these to 1.56.x in as few PRs as possible (seeing as non of these are critical unless most of them land).
Test Plan
Backspace
as a shortcut forBack
Backspace
- the browser should navigate backALT+LeftArrow
as a shortcut forForward
. A warning should pop up sayingThis combination is being used for "Back". Saving will override that shortcut.
Back
command (neither back nor forward should be resettable now, as they are already at their defaults)Reset all to defaults
button at the bottom of the page.Note: On macOS some shortcuts cannot be changed via the shortcuts UI. For these shortcuts, no remove button should show up, and it should not be possible to override them by adding their key combination to another shortcut.
The text was updated successfully, but these errors were encountered: