Skip to content

On Mac, text selection keyboard shortcuts aren't all working (like Cmd+A) #3516

Closed

Description

@Keavon

In text fields, Cmd+A doesn’t work to select all text and Shift+Option+Up/Down arrow key doesn’t select from the text cursor’s position to the start/end of the line (however these do work: Shift+Option+Left/Right does select word-by-word, and Option+Up/Down does jump the text cursor to the start/end of the line without selecting); this works on web

Activity

  1. changed the title [-]In text fields, Cmd+A doesn’t work to select all text and Shift+Option+Up/Down arrow key doesn’t select from the text cursor’s position to the start/end of the line (however these do work: Shift+Option+Left/Right does select word-by-word, and Option+Up/Down does jump the text cursor to the start/end of the line without selecting); this works on web[/-] [+]On Mac, text selection keyboard shortcuts aren't all working (like Cmd+A)[/+] on Dec 22, 2025
  2. added
    DesktopNative desktop API work with Windows/Mac/Linux and CEF
    on Dec 22, 2025
  3. added theissue type on Dec 22, 2025
  4. moved this to Pre-Launch in Desktop Applicationon Dec 22, 2025
  5. Mayank7Bisnewar commented on Mar 21, 2026

    @Mayank7Bisnewar

    hi, can i work over this issue

  6. timon-schelling commented on Mar 21, 2026

    @timon-schelling
    Member

    @Mayank7Bisnewar Sure, just be aware that this is not a all beginner friendly.
    The main thing that is holding this back is that all obvious fixes break workarounds we have to do for the Menu to not cause duplicate Keyboard events.
    Will likely involve diving deep into mac APIs and winit.

    see

    key_event.unmodified_character = event.key_without_modifiers.to_char_representation() as u16;

    tracing::error!("A keyboard input triggered a menu event. This is most likely a bug. Please report!");

    // Route keyDown events straight to the key window to skip native menu shortcut handling.

  7. moved this from Short-Term to Completed This Milestone in Task Boardon Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DesktopNative desktop API work with Windows/Mac/Linux and CEF

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions