Skip to content

extremely small window size when setting macos-titlebar-style to native on tip version of ghostty #11256

Description

@bo2themax

Discussed in #11235

Originally posted by synkathairo March 8, 2026

Issue Description

incorrect window size on launch, which is extremely small
image

Expected Behavior

the window size should be the default one or the one specified by the user

Actual Behavior

the window size upon launching ghostty is extremely small, when macos-titlebar-style = native

Reproduction Steps

set macos-titlebar-style = native on tip version of ghostty, open the app from a fully quit state

Ghostty Logs

Filtering the log data using "subsystem == "com.mitchellh.ghostty""
Timestamp                       Thread     Type        Activity             PID    TTL  
2026-03-08 12:53:05.664305-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] ghostty version=1.3.0-main+2d9dc5cfd
2026-03-08 12:53:05.664828-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] ghostty build optimize=ReleaseFast
2026-03-08 12:53:05.664849-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] runtime=.none
2026-03-08 12:53:05.664864-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] font_backend=.coretext
2026-03-08 12:53:05.664880-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] renderer=renderer.generic.Renderer(renderer.Metal)
2026-03-08 12:53:05.664894-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] libxev default backend=kqueue
2026-03-08 12:53:05.671041-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:os_locale] os_locale: detected system locale=en_US.UTF-8
2026-03-08 12:53:05.671274-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:os_locale] os_locale: setlocale from env result=en_US.UTF-8
2026-03-08 12:53:05.673392-0400 0xc5c708   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:sentry] sentry: sentry envelope does not contain crash, discarding
2026-03-08 12:53:05.757086-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] reading configuration file path=/Users/user/Library/Application Support/com.mitchellh.ghostty/config
2026-03-08 12:53:05.757347-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:cli] cli: compatibility handler for bold-is-bright handled error, you may be using a deprecated field: error.InvalidField
2026-03-08 12:53:05.757409-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:default] reading configuration file path=/Users/user/Library/Application Support/com.mitchellh.ghostty/config
2026-03-08 12:53:05.757438-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:cli] cli: compatibility handler for bold-is-bright handled error, you may be using a deprecated field: error.InvalidField
2026-03-08 12:53:05.757465-0400 0xc5c706   Error       0x0                  54797  0    ghostty: [com.mitchellh.ghostty:config] config: both config files `/Users/user/Library/Application Support/com.mitchellh.ghostty/config` and `/Users/user/Library/Application Support/com.mitchellh.ghostty/config` exist.
2026-03-08 12:53:05.757476-0400 0xc5c706   Error       0x0                  54797  0    ghostty: [com.mitchellh.ghostty:config] config: loading them both in that order
2026-03-08 12:53:05.757819-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:cli] cli: compatibility handler for bold-is-bright handled error, you may be using a deprecated field: error.InvalidField
2026-03-08 12:53:05.757849-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:cli] cli: compatibility handler for bold-is-bright handled error, you may be using a deprecated field: error.InvalidField
2026-03-08 12:53:05.757889-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:config] config: default shell src=passwd value=/bin/zsh
2026-03-08 12:53:05.757902-0400 0xc5c706   Info        0x0                  54797  0    ghostty: [com.mitchellh.ghostty:config] config: default working directory src=passwd value=/Users/user

Ghostty Version

Ghostty 1.3.0-main+2d9dc5cfd

Version
  - version: 1.3.0-main+2d9dc5cfd
  - channel: tip
Build Config
  - Zig version   : 0.15.2
  - build mode    : .ReleaseFast
  - app runtime   : .none
  - font engine   : .coretext
  - renderer      : renderer.generic.Renderer(renderer.Metal)
  - libxev        : kqueue

OS Version Information

macOS 15.7.4

(Linux only) Display Server

None

(Linux only) Desktop Environment/Window Manager

No response

Minimal Ghostty Configuration

window-height = 25
window-width = 80
window-padding-x = 5
window-padding-y = 2
window-padding-balance = true
window-padding-color = extend
macos-titlebar-style = native

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.

Activity

  1. added
    needs-confirmationA reproduction has been reported, but the bug hasn't been confirmed or reproduced by a maintainer.
    on Mar 9, 2026
  2. added 2 commits that reference this issue on Mar 9, 2026
    3c93c35
    3445c9a
  3. added this to the 1.3.0 milestone on Mar 9, 2026
  4. bo2themax commented on Mar 9, 2026

    @bo2themax
    MemberAuthor

    Relatively easier to reproduce with a sleep command

    macos-titlebar-style = native
    window-height = 10
    window-width = 40
    command = "sleep 3"
    
  5. added a commit that references this issue on Mar 10, 2026
    85f0972
  6. added a commit that references this issue on Mar 10, 2026
    1dd0c81
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

    needs-confirmationA reproduction has been reported, but the bug hasn't been confirmed or reproduced by a maintainer.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions