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

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #39 by @zzj3720 — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
macos, swift
Domain
desktop

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Swift
Stars
435
Forks
31
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AFK-surf/OpenBridge

All issues in AFK-surf/OpenBridge

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.