DeskLayer Update — Communication Architecture v2, Event-Driven SMTC & macOS Dock Magnify Polish
Today's update delivers a comprehensive overhaul of the internal communication pipeline between WPF (C#) and Chromium (WebView2), native real-time SMTC media synchronization, major improvements to Taskbar Window Previews, and the restored macOS Dock Magnification.
Communication Architecture v2 & Dispatcher Optimization
- Single-Hop WebViewBridge: Completely eliminated the legacy double-hop queue that previously bottlenecked data topics under active mouse movement.
- Inline UI-Thread Dispatch: State changes originating on the UI thread are now forwarded inline directly to the primary dock and all connected satellites/mirrors in a single frame.
- Anti-Starvation Dispatcher Queue: Elevated coalesced background drain priority to Normal, preventing message starvation from input/rendering loops and drastically reducing queued dispatcher operations.
- Instant Satellite & Extra Bar Sync: Satellites (clock, widgets, side panels) and secondary taskbars now receive baseline state snapshots immediately without display latency.
Real-Time Event-Driven SMTC Media Sync
- Native WinRT Event Subscriptions: Directly hooked into PlaybackInfoChanged, MediaPropertiesChanged, and CurrentSessionChanged via the Windows Media Session API.
- Zero Polling Delay: Play, pause, and track changes triggered externally via keyboard media keys, headphones, or the Windows media overlay now sync to the dock instantly without waiting for a 1-second polling timer.
- Immediate Transport Feedback: In-dock media button clicks force-refresh the state gate immediately for fluid UI response.
Taskbar Preview & Window Thumbnail Overhaul
- Icon Decoding Exception Fix: Resolved a base64 data URI parsing issue in window metadata resolution that previously triggered exceptions and micro-stutters during preview hovers.
- Smooth Hover & Hit-Test Air Corridor: Added a seamless cursor bridge and grace period between dock tiles and the popup card to prevent premature dismissal while gliding towards window cards.
- Native Windows 11 Rounded Corners: Leveraged hardware-accelerated DWM corner preferences for crisp anti-aliased edges without 1-bit GDI clipping artifacts.
- Dynamic Aspect-Ratio Scaling: Individual thumbnail cells automatically adapt their dimensions to the target application's native window ratio.
- Auto-Hide Hold During Interaction: Prevents the dock from retracting while context menus, overflow flyouts, or thumbnail previews are actively engaged.
Dock Magnify & Overflow Protection
- Smooth Cosine-Bell Magnification:dock magnification featuring smooth baseline blooming and progressive damping.
- Intelligent Overflow Headroom: Automatically shifts overflow-boundary tiles into the overflow menu when magnification is active to ensure icons are never clipped at screen edges.
🛠️ Shell Integration & Stability
- Authentic Taskbar Window Toggling: Polished single/multi-window toggle logic to bring background apps to the foreground or minimize already-active windows naturally.
- 100% Reserved Work Area Gap Integrity: Dock auto-hide and unregister transitions preserve custom desktop workspace gaps smoothly without flickering maximized apps.
Thank you for your feedback and support! If you encounter any issues or have suggestions, please let us know in the Community Hub.