Skip to content

macOS: new windows/tabs always open on primary monitor, moving existing windows #9310

@mitchellh

Description

@mitchellh

Discussed in #8673

Originally posted by umputun September 16, 2025

Issue Description

New windows always open on primary monitor regardless of focus. Opening a new tab in a window on non-primary monitor moves the entire window to primary monitor. (macOS 26, Ghostty 1.2.0, multi-monitor setup)

Expected Behavior

  • New windows should open on the monitor that currently has focus or where the cursor is located
  • New tabs should open within the existing window without changing its monitor position

Actual Behavior

When using Ghostty 1.2 with multiple monitors on macOS 26, there are two related window management issues:

  • New windows always open on primary monitor: When opening a new Ghostty window (e.g., Cmd+N), it always appears on the primary/default monitor regardless of which monitor currently has focus or where the existing Ghostty window is located.
  • New tabs move existing windows: When opening a new tab (Cmd+T) in an existing Ghostty window that's on a non-primary monitor, the entire window gets moved to the primary monitor instead of the tab opening in place.

Reproduction Steps

  1. Set up a multi-monitor configuration on macOS 26
  2. Open Ghostty and Move the window to a non-primary monitor
  3. Try opening a new window (Cmd+N) - observe it opens on primary monitor
  4. With a Ghostty window on a non-primary monitor, open a new tab (Cmd+T) - observe the entire window moves to primary monitor

Ghostty Logs

No response

Ghostty Version

Ghostty 1.2.0

Version
  - version: 1.2.0
  - channel: stable
Build Config
  - Zig version   : 0.14.1
  - build mode    : builtin.OptimizeMode.ReleaseFast
  - app runtime   : apprt.Runtime.none
  - font engine   : font.main.Backend.coretext
  - renderer      : renderer.generic.Renderer(renderer.Metal)
  - libxev        : kqueue

OS Version Information

MacOS 26.0 (25A354) Tahoe

(Linux only) Display Server

None

(Linux only) Desktop Environment/Window Manager

No response

Minimal Ghostty Configuration

Seems to be reproducible in any configuration

Additional Relevant Configuration

No response

I acknowledge that:

  • I have reviewed the FAQ and confirm that my issue is NOT among them.
  • I have searched the Ghostty repository (both open and closed Discussions and Issues) and confirm this is not a duplicate of an existing issue or discussion.
  • I have checked the "Preview" tab on all text fields to ensure that everything looks right, and have wrapped all configuration and code in code blocks with a group of three backticks (```) on separate lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiGUI or app issue regardless of platform (i.e. Swift, GTK)os/macos

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions