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

Aperta
#37 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

  • #39 di @zzj3720 — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
macos, swift
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Swift
Stelle
435
Fork
31
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AFK-surf/OpenBridge

Tutte le issue di AFK-surf/OpenBridge

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.