Default Dock icon does not follow macOS 26 Dark or Tinted appearance

オープン
#37 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

  • #39 @zzj3720 による — マージされずにクローズ

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
macos, swift
領域
desktop

調査の方向性

Start by locating AppIcon.apply() and inspect how NSApp.applicationIconImage is assigned when the default icon is selected. Reproduce the issue on macOS 26 with Dark and Tinted Dock appearances, then verify that the default Dock icon follows both modes after restarting the app.

索引モデルが issue の本文から書いたものです。

説明

bug

What Happened

On macOS 26, after enabling Settings → Show Dock Icon and restarting the app, the OpenBridge Dock icon still appears as the light/default version when the system icon appearance is set to Dark or Tinted.

The project already includes Icon Composer .icon assets, such as AppIcon.icon, so I expected the default app icon to follow macOS 26's dynamic icon appearance rendering.

One thing that may be worth checking is that AppIcon.apply() appears to set NSApp.applicationIconImage from NSImage(named: "AppIcon") even when the default icon is selected. I wonder if this could cause the Dock icon to use a resolved/static image instead of letting macOS render the bundled Icon Composer icon dynamically.

Apple's Icon Composer documentation mentions that the system automatically renders app icons for different appearances from the .icon file:

https://developer.apple.com/documentation/Xcode/creating-your-app-icon-using-icon-composer

Expected Behavior

The default Dock icon should follow the macOS 26 system icon appearance, including Dark and Tinted modes.

Steps to Reproduce

  1. Set the macOS 26 system icon appearance to Dark or Tinted.
  2. Run OpenBridge.
  3. Enable Settings → Show Dock Icon.
  4. Quit the app with Command + Q.
  5. Launch OpenBridge again.
  6. Check the OpenBridge Dock icon.

Environment

  • macOS version: macOS 26
  • OpenBridge build or commit: main / 268e9be
  • Provider/model, if relevant: N/A
  • Sandbox VM enabled: N/A

Logs or Screenshots

Image

Do not include API keys, OAuth tokens, private files, or other secrets.

主要言語
Swift
スター
435
フォーク
31
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AFK-surf/OpenBridge のほかの issue

AFK-surf/OpenBridge の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。