Skip to content

[BUG] "New canvas" dialog does not auto-focus or select text in Width field on open #184

Description

@safvanedge

Description

When opening the "New canvas" dialog (via ⌘N or clicking the "+" button), the "Width" text field is not automatically focused, and its existing text is not selected. The user must manually click into the input box to start typing.

In contrast, pressing Tab correctly moves focus to the "Height" field and selects its contents.

Steps to Reproduce

  1. Launch Compositor.
  2. Click the + button in the toolbar or press ⌘N to open the "New canvas" dialog.
  3. Attempt to type immediately without clicking.

Expected Behavior

The "Width" field should be automatically focused with its contents (1920 or clipboard width) pre-selected on open, allowing users to immediately type a new value without needing to click with the mouse (consistent with standard macOS and Photoshop dialogs).

Actual Behavior

The input field is not active; user must manually click into the "Width" box before typing.

Environment

  • OS: macOS (Apple Silicon)
  • Version: Compositor 1.4.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions