Make WordPress Core

Opened 3 months ago

Closed 4 weeks ago

#65425 closed defect (bug) (worksforme)

Command or Control + K doesn't override Brave's native hotkey to hightlight URL bar.

Reported by: devq Owned by:
Priority: normal Milestone:
Component: Administration Version: 7.1
Severity: normal Keywords: needs-patch has-test-info reporter-feedback
Cc: Focuses: ui, administration

Description

Pretty straight forward from the title.

Attachments (1)

Screenshot 2026-07-23 at 11.03.14 AM.png (623.7 KB ) - added by vedantere 7 weeks ago.

Download all attachments as: .zip

Change History (4)

#1 @sukhendu2002
2 months ago

  • Keywords has-test-info added

Reproduction Report

Description

This report validates whether the issue can be reproduced.

Environment

  • WordPress: 7.1-alpha-62161-src
  • PHP: 8.3.31
  • Server: nginx/1.31.2
  • Database: mysqli (Server: 8.4.10 / Client: mysqlnd 8.3.31)
  • Browser: Chrome 149.0.0.0
  • OS: macOS
  • Theme: Twenty Nineteen 3.3
  • MU Plugins: None activated
  • Plugins:
    • Test Reports 1.2.0

Actual Results

  1. ❌ Error condition does not occur (not reproduced).
  2. ✅ Pressing Command + K opens the WordPress Command Palette.
  3. ✅ The browser URL bar is not focused or highlighted.

Supplemental Artifacts

Add Inline: https://utfs.io/f/o9kzPXfbC7I842foui6al1oxuP9Mk7CcBUIRThKyi03AX2GJ

#2 @vedantere
7 weeks ago

Reproduction Report

Description

Corroborating report, tested in both Chrome and Brave (the browser named in the ticket title).

Environment

  • WordPress: [WP 7.0.2]
  • Browsers: Chrome, Brave
  • OS: macOS

Actual Results

Error condition does not occur (not reproduced) in either browser.
Pressing Command + K opens the WordPress Command Palette in both Chrome and Brave.
The browser address bar text is not focused/highlighted in either browser.

This matches the result in comment:1 (also not reproduced, though only tested in Chrome there). The command palette's keyboard handler does call event.preventDefault() on the keydown event (see packages/commands/src/components/command-menu.tsx), and that appears to be respected in both browsers here.

Last edited 7 weeks ago by vedantere (previous) (diff)

#3 @wildworks
4 weeks ago

  • Keywords reporter-feedback added
  • Milestone Awaiting Review
  • Resolutionworksforme
  • Status newclosed

I couldn't reproduce this issue either. Let's close this ticket for now.

@devq, If the issue is still not resolved, please let us know.

  • OS
  • WordPress version
  • Brave browser version
  • On which screen did you trigger the command palette?
Note: See TracTickets for help on using tickets.