Closed ghost closed 1 year ago
Hi @c0494133d4, do you mind start Emacs by /Applications/Emacs.app/Contents/MacOS/Emacs -q
to see if this issue consistent?
@railwaycat Emacs -q
and hide menu bar. Then the problem was solved.
The problem is due to that I put (tool-bar-mode 0)
in early-init.el
@railwaycat How to avoid the huge title bar in custom build? When I start emacs with /usr/local/opt/emacs-mac/Emacs.app/Contents/MacOS/Emacs -Q
, the title bar is huge.
Built options: --with-dbus --with-glib --with-imagemagick --with-mac-metal --with-native-comp --with-xwidgets --with-natural-title-bar
I also have an extremely large title bar with macOS Sonoma, compared to previous macOS versions. It seems like the tool bar images are larger in macOS Sonoma or something like that and that is what is causing the difference?
If I start Emacs like /Applications/Emacs.app/Contents/MacOS/Emacs -q &
(after having installed on macOS Sonoma with --with-natural-title-bar
), then I see this:
However, if I start it like /Applications/Emacs.app/Contents/MacOS/Emacs -q --eval '(tool-bar-mode 0)' &
, then I see this:
If you're using Doom Emacs, I think there is some lazy loading of tool bar configuration that I haven't been able to get to the bottom of yet. So if you just put (tool-bar-mode 0)
in your Doom's config.el
file, it doesn't fix the issue, but if you explicitly toggle tool-bar-mode
off after (Doom) Emacs has started up, you'll get the much smaller title bar.
Looks like this may have been fixed upstream https://bitbucket.org/mituharu/emacs-mac/commits/5f6c306095c825eb01708e336f9d03c15271dfe9
I am using the prebuilt
emacs-29.1-mac-10.0-arm64-13.4.zip
.How to reduce the size to a normal one (without hiding title bar completely)?