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

Đang mở
#37 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

  • #39 của @zzj3720 — đã đóng, không merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
macos, swift
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Swift
Star
435
Fork
31
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AFK-surf/OpenBridge

Tất cả issue của AFK-surf/OpenBridge

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.