Skip to content

Large title bar on macOS Sonoma when using railwaycat/homebrew-emacsmacport and Doom Emacs #7532

@adamliter

Description

@adamliter

I confirm that...

  • I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.

  • I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.

  • The issue can be reproduced on the latest available commit of Doom.

  • The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. (Unstable versions end in .50, .60, or .9x)

Expected behavior

The expected behavior is to have a normal-sized title bar when opening Doom Emacs on macOS Sonoma. After upgrading to macOS Sonoma, something has changed, and it seems like a bug in Doom Emacs, based on the discussion here.

This is also discussed in railwaycat/homebrew-emacsmacport#362.

Current behavior

Opening Doom Emacs on macOS Sonoma leads to a title bar of this size:

image

However, running /Applications/Emacs.app/Contents/MacOS/Emacs -q --eval '(tool-bar-mode 0)' & leads to a title bar of this size:

image

Steps to reproduce

  1. brew install emacs-mac --with-natural-title-bar
  2. /Applications/Emacs.app/Contents/MacOS/Emacs -q to get large title bar
  3. /Applications/Emacs.app/Contents/MacOS/Emacs -q --eval '(tool-bar-mode 0)' to get small/reasonable title bar
  4. /Applications/Emacs.app/Contents/MacOS/Emacs to get large title bar with Doom configuration (regardless of whether config.el contains (tool-bar-mode 0))

Adding (add-hook 'doom-after-init-hook (lambda () (tool-bar-mode 1) (tool-bar-mode 0))) to config.el is a workaround as suggested by Dolerich in the linked Discourse post.

System Information

https://pastebin.com/embed_js/ZGGDx9NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidUnactionable, unrelated, inappropriate, or a pilot error

    Type

    No type

    Projects

    Status

    Queued for deletion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions