Skip to content

[Bug]: Cmd + plus does not zoom in on macOS on non-US layouts #30060

Closed

Description

@straumandi

Before submitting

  • I searched existing issues and did not find an open duplicate.
  • I included enough detail to investigate the problem.

Area

MacOS, Desktop

Steps to reproduce

  1. On macOS with an Austrian keyboard layout, open T3 Code.
  2. Press Cmd + - and observe the UI shrink.
  3. Press Cmd + + to increase the UI size again.

Expected behavior

Cmd + + zooms in and makes the UI larger, reversing the effect of Cmd + -.

Actual behavior

Cmd + - makes the UI smaller, but Cmd + + does not zoom in.

Impact

Minor bug or occasional failure: keyboard zoom out works, but the corresponding zoom-in shortcut does not.

Version or commit

T3 Code (Beta) 0.1.6 is installed and running on the machine.

Environment

  • macOS 27.0 (build 26A428), Apple Silicon (arm64)
  • Selected keyboard layout: German
  • Installed and running desktop app: T3 Code (Beta) 0.1.6

Related issue

#14833 reported a similar Cmd + + failure on macOS with a German keyboard layout, while Cmd + - worked. It was closed as fixed by #18439; a maintainer requested a new issue if the problem persists. The underlying cause and whether the tested client contains that fix have not been verified.

Workaround

Menu-based zoom (View > Zoom In). Inconvenient.

Activity

  1. changed the title [-][Bug]: Cmd + plus does not zoom in on macOS[/-] [+][Bug]: Cmd + plus does not zoom in on macOS on non-US layouts[/+] on Nov 4, 2026
  2. Sharad-Patel1 commented on Nov 16, 2026

    @Sharad-Patel1
    Contributor

    Note

    Generated by claude-opus-5-5
    RESPONDING ON BEHALF OF SHARAD

    This can be closed: #26408 (691b970) fixed the cause on main. It ships in 0.1.10-nightly.20261111.4529 and later, but isn't in a stable release yet. On German and Austrian layouts the + key sits where US keyboards have ] (BracketRight). The shared shortcut matcher read it as ], so Cmd + + matched the default Cmd+] (go forward) and the app called preventDefault before Zoom In could run. keybindingMatching.ts now keeps an unshifted + as +. The matcher is the same on every platform apart from Cmd versus Ctrl, so this macOS report takes the same path as #26383, which was closed as fixed by #26408.

    The attached script resolves a macOS Cmd + + (key: "+", code: "BracketRight") against the default keybindings. On the commit before #26408 it resolves to navigation.forward. On current main it resolves to no app command, and a US Cmd+] still goes forward.

    I repeated it in the real app in the browser by dispatching the keydown macOS reports for that key. Before #26408 the app swallows Cmd + + (preventDefault: true) and jumps forward to Settings, exactly like Cmd+]. On main it leaves Cmd + + alone (preventDefault: false), and Cmd+] still goes forward. I didn't press the physical key in the desktop app with a German layout, so if Cmd + + still doesn't zoom on a build that has #26408, that would be new information.

    Before #26408 (1530bec29a) main (e5b6c96a46)
    Before #26408 (1530bec29a) main (e5b6c96a46)
    📹 Screen recording 📹 Screen recording

    To reproduce, run bash prove-issue-30060.sh from a clean t3code checkout after vp i.

    Result
    PASS  #26408 (691b9709b0) is on main: fix(web): Ctrl + "+" zooms on keyboard layouts with a dedicated plus key (#26408)
    PASS  before #26408 (1530bec29a): Mac Cmd + "+" (code BracketRight) resolves to navigation.forward, so the zoom is swallowed
    PASS  main (47f90ee2e9): Mac Cmd + "+" resolves to no app command, so the app no longer swallows it; US Cmd+] still goes forward
    VERDICT: #30060 is fixed on main by #26408
    
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions