You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cannot close the app, broken dock icon - size is 0/nearly invisible #1591
Thanks for the detailed report with screenshots and logs.
Looking at the codebase and related issues, here's some relevant context:
Related Issues:
This appears similar to Crash upon initial download #1556 ("Crash upon initial download") where the user reported "The dock icon disappears as if it's doing an auto update behind the scenes." That issue was related to a startup crash in libavcodec on M1 Macs running macOS Sonoma, which was resolved separately.
Relevant Code:
The macOS window management is primarily handled in:
apps/desktop/src-tauri/src/windows.rs - Main window lifecycle and building
apps/desktop/src-tauri/src/platform/macos/delegates.rs - NSWindow delegate handling for traffic lights and window events
apps/desktop/src-tauri/src/platform/macos/mod.rs - Window level and corner radius handling
Recent Changes:
PR #1399 (merged Jan 3, 2026) refactored the windowing system significantly - renamed CapWindowId to CapWindowDef and ShowCapWindow to CapWindow, removed the custom macOS NSWindow delegate in favor of Tauri's native traffic_light_position API, and upgraded Tauri to 2.9.3. This PR also notes that macOS 26+ handling will need additional work in a follow-up PR.
The invisible/zero-size dock icon when the app is "closed" (but still running in background) suggests the app may be transitioning to an accessory activation policy incorrectly or there's an issue with how the app icon is being rendered when all windows are hidden but the app process persists.
The attached log file would be helpful to review for any errors during the close/minimize flow.
Activity
linear commentedon Feb 9, 2026
CAP-636
tembo commentedon Feb 9, 2026
Thanks for the detailed report with screenshots and logs.
Looking at the codebase and related issues, here's some relevant context:
Related Issues:
Relevant Code:
The macOS window management is primarily handled in:
apps/desktop/src-tauri/src/windows.rs- Main window lifecycle and buildingapps/desktop/src-tauri/src/platform/macos/delegates.rs- NSWindow delegate handling for traffic lights and window eventsapps/desktop/src-tauri/src/platform/macos/mod.rs- Window level and corner radius handlingRecent Changes:
PR #1399 (merged Jan 3, 2026) refactored the windowing system significantly - renamed
CapWindowIdtoCapWindowDefandShowCapWindowtoCapWindow, removed the custom macOS NSWindow delegate in favor of Tauri's nativetraffic_light_positionAPI, and upgraded Tauri to 2.9.3. This PR also notes that macOS 26+ handling will need additional work in a follow-up PR.The invisible/zero-size dock icon when the app is "closed" (but still running in background) suggests the app may be transitioning to an accessory activation policy incorrectly or there's an issue with how the app icon is being rendered when all windows are hidden but the app process persists.
The attached log file would be helpful to review for any errors during the close/minimize flow.
Toumash commentedon Apr 11, 2026
ok it works now