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

Abierto
#37 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

  • #39 de @zzj3720 — cerrado sin fusionar

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
macos, swift
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Swift
Estrellas
435
Forks
31
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AFK-surf/OpenBridge

Todos los issues de AFK-surf/OpenBridge

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.