Default Dock icon does not follow macOS 26 Dark or Tinted appearance
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
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ả
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
- Set the macOS 26 system icon appearance to Dark or Tinted.
- Run OpenBridge.
- Enable Settings → Show Dock Icon.
- Quit the app with
Command + Q. - Launch OpenBridge again.
- 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
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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AFK-surf/OpenBridge
-
Gemini Provider Not WorkingCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
AFK-surf/OpenBridge#36 ·
Tất cả issue của AFK-surf/OpenBridge
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
haacked/switchboard#662 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
AndroidAssetManager(env:peer:) in AssetURLProtocol.swift doesn't compile for Android on the Swift nightlyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
erkamyaman/unslop-anything#579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
erkamyaman/rust-anything#1311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Android: a long press's `contextmenu` event carries no point (`clientX` and `clientY` are 0)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày