{"id":41380,"date":"2023-12-08T14:42:38","date_gmt":"2023-12-08T19:42:38","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=41380"},"modified":"2025-12-16T15:48:52","modified_gmt":"2025-12-16T20:48:52","slug":"mac-menu-bar-icons-and-the-notch","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/12\/08\/mac-menu-bar-icons-and-the-notch\/","title":{"rendered":"Mac Menu Bar Icons and the Notch"},"content":{"rendered":"<p><a href=\"https:\/\/www.jessesquires.com\/blog\/2023\/12\/04\/new-m3-mbp\/\">Jesse Squires<\/a> (<a href=\"https:\/\/mastodon.social\/@jsq\/111484121769910573\">Mastodon<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.jessesquires.com\/blog\/2023\/12\/04\/new-m3-mbp\/\">\n<p>On my 13&rdquo; Intel MacBook Pro, the icons reached to about halfway across the screen. On the 14&rdquo; M3 MacBook Pro, ironically a machine with a larger display, at least 3 icons get hidden.<\/p>\n<p>This &ldquo;design&rdquo; (or lack thereof) is so dumb. It is utterly ridiculous to me that this is still how it &ldquo;works&rdquo; <strong>two years after<\/strong> the introduction of the redesigned MacBook Pro with a notch. How hard could it be to add an overflow menu with a &ldquo;&laquo;&rdquo; (or should it be &ldquo;&raquo;&rdquo;?) button that shows the remaining apps and icons that can&rsquo;t be displayed? This entire situation with the notch is ironic, because the iPhone notch and &ldquo;dynamic island&rdquo; are so <strong>thoughtfully designed<\/strong> with zero compromises regarding the functionality of iOS. In fact, they actually provide a <em>better<\/em> user experience. Yet on the Mac, how the notch interacts with macOS is laughably incompetent. It is shockingly lazy regarding attention to detail, and results in an outright disruptive and confusing user experience.<\/p>\n<\/blockquote>\n<p>Aside from the problem of the icons being hidden, there&rsquo;s no API for an app to <em>tell<\/em> whether its icon is hidden. <code>NSStatusItem.isVisible<\/code> tells you whether the app or user <em>wants<\/em> the icon to be visible, but it will return <code>true<\/code> if the icon is hidden in the notch&mdash;or even if it&rsquo;s hidden behind a menu title.<\/p>\n<p>This has caused problems for me because in Sonoma it&rsquo;s no longer possible for SpamSieve to add commands to the <strong>Message<\/strong> menu in Apple Mail. So SpamSieve instead offers <a href=\"https:\/\/c-command.com\/spamsieve\/help\/show-menu-bar-icon\">its own menu<\/a> that&rsquo;s visible in Mail. If there are too many icons, I want to be able to warn the user so that they can rearrange them or access the functionality in a different way. The best workaround I&rsquo;ve found is to get the coordinates of the icon and then use a pile of hacks to try to figure out whether it overlaps the notch or a menu title. The menu title positions cannot be accessed without accessibility permissions, so I have to hard-code them for each localization and hope the font metrics don&rsquo;t change.<\/p>\n\n<p><a href=\"https:\/\/www.macstories.net\/reviews\/bartender-5-is-the-essential-menu-bar-upgrade-for-macos-sonoma\/\">Nil&eacute;ane Dorffer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.macstories.net\/reviews\/bartender-5-is-the-essential-menu-bar-upgrade-for-macos-sonoma\/\">\n<p>I feel a bit sad every time somebody asks me how to recover an icon that &ldquo;disappeared behind the notch.&rdquo; I still believe people should not have to download a third-party app to deal with Apple&rsquo;s hardware and software decisions that lead to the notch and its tendency to swallow menu bar icons. macOS should at least have a way to handle an overflowing menu bar. For this reason alone, Bartender is an essential Mac utility that&rsquo;s easy to recommend to anyone running a Mac.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/12\/08\/bartender-5\/\">Bartender 5<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/09\/24\/spamsieve-3-0\/\">SpamSieve 3.0<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/01\/18\/bartender-and-the-notch\/\">Bartender and the Notch<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/11\/24\/the-macbook-pro-notch\/\">The MacBook Pro Notch<\/a><\/li>\n<\/ul>\n\n<p id=\"mac-menu-bar-icons-and-the-notch-update-2023-12-21\">Update (2023-12-21): <a href=\"https:\/\/www.jessesquires.com\/blog\/2023\/12\/16\/macbook-notch-and-menu-bar-fixes\/\">Jesse Squires<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.jessesquires.com\/blog\/2023\/12\/16\/macbook-notch-and-menu-bar-fixes\/\"><p>I figured it was worth making a separate post about this specific issue to list all of the workarounds and alternatives. It is clear that this is a widespread problem that users are having.<\/p><p>[&#8230;]<\/p><p>Reduce the menu bar item spacing and padding via <code>UserDefaults<\/code>. (Thanks to <a href=\"https:\/\/mastodon.social\/@gummibando\/111546699397435187\">Oliver Busch<\/a> for the tip. Also see <a href=\"https:\/\/www.reddit.com\/r\/MacOS\/comments\/16lpfg5\/hidden_preference_to_alter_the_menubar_spacing\/\">this Reddit post<\/a>.) There are two defaults settings you can configure via Terminal, <code>NSStatusItemSpacing<\/code> and <code>NSStatusItemSelectionPadding<\/code>.<\/p><\/blockquote>\n\n<p id=\"mac-menu-bar-icons-and-the-notch-update-2024-06-12\">Update (2024-06-12): <a href=\"https:\/\/x.com\/patrickwardle\/status\/1800475940881064253\">Patrick Wardle<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/patrickwardle\/status\/1800475940881064253\"><p>macOS can put the item partially, or worse, <em>wholly<\/em> behind the camera notch (so it&rsquo;s invisible)!? &#x1F926;&#x1F3FB;&#x200D;&#x2642;&#xFE0F;<\/p><p>&#8230;what&rsquo;s the solution\/how do avoid this?<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Jesse Squires (Mastodon): On my 13&rdquo; Intel MacBook Pro, the icons reached to about halfway across the screen. On the 14&rdquo; M3 MacBook Pro, ironically a machine with a larger display, at least 3 icons get hidden. This &ldquo;design&rdquo; (or lack thereof) is so dumb. It is utterly ridiculous to me that this is still [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-12-08T19:42:42Z","apple_news_api_id":"70e25094-6fa2-42c4-9c45-3ce041f291bf","apple_news_api_modified_at":"2024-09-02T19:58:49Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAw==","apple_news_api_share_url":"https:\/\/apple.news\/AcOJQlG-iQsScRTzgQfKRvw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2055,69,649,30,2385,71,372],"class_list":["post-41380","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bartender","tag-cocoa","tag-esoteric-preferences","tag-mac","tag-macos-14-sonoma","tag-programming","tag-spamsieve"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=41380"}],"version-history":[{"count":5,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41380\/revisions"}],"predecessor-version":[{"id":44684,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41380\/revisions\/44684"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=41380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=41380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=41380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}