feat(desktop): tray icon + close-to-tray setting#50
Merged
Conversation
- returning from Main left the process alive in Task Manager on Windows 10 - graceful dispose (bounded 10s) still runs first; Environment.Exit is the backstop
- full-bleed grid pressed against the physical screen edges - mobile fullscreen video stays edge-to-edge
- one-click fill of NETSurveillance-style main/sub RTSP URLs - uses the credential fields, falls back to stock admin/empty - localizer strings for this branch (incl. upcoming tray items)
- tray menu: open, add camera, settings, about, exit - optional close-to-tray (off by default); hidden window releases live streams - restore un-minimizes to the pre-minimize state and activates the window
- settings SaveAsync: bare `await using` captured the dispatcher; a blocking wait in OnClosing then deadlocked the UI thread (frozen app) - hide-to-tray no longer blocks on the save at all; Hide() is posted after the close dispatch (inline Hide is silently dropped by Avalonia) - real close keeps a bounded 5s wait so the write lands before forced exit
- lucide geometries rendered to 2x bitmaps (NativeMenuItem has no vector slot) - accent-colored stroke, cached across language-switch menu rebuilds - new IconCog + IconPower geometries in Theme.axaml
- menu shows the bitmap at pixel size; the 2x bitmap overflowed the icon slot and got cropped to its corner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Related
Type
Checklist
TreatWarningsAsErrors=true).dotnet test); new Core logic has unit tests.AppreferencesCoreonly (Infrastructure / Video / Devices wired via DI in a head).Platforms tested
Screenshots / notes