A macOS-style dock, widget bar and desktop widgets for Windows (WPF, .NET 10)
QiDock Design System
QiDock uses a lightweight, vector-driven design system implemented in pure WPF XAML without third-party UI dependencies.
Design Tokens
Layout & Dimensions
| Token | Value | Description |
|---|---|---|
DockWindowHeight |
108 DIP |
Total height of the transparent window container |
DockHeadroom |
44 DIP |
Transparent top headroom allowing unclipped icon magnification |
_nativeTaskbarHeight |
66 DIP |
Base height of the floating dock container shelf |
DockCellSize |
50 DIP |
Width of an individual dock application item cell (square proportion) |
DockCellHeight |
52 DIP |
Height of an individual dock application item cell |
DockIconSize |
32 DIP |
Prominent icon display size with balanced cell margins |
DockHoverScale |
1.85x |
Peak magnification scale for the hovered dock item |
DockRadius |
18 DIP |
Pill container corner radius (CornerRadius="18") |
ControlRadius |
12 DIP |
Standard control and button corner radius |
PopupRadius |
10 DIP |
Context menu and window preview corner radius |
PreviewGap |
18 DIP |
Vertical elevation gap between dock icons and thumbnail preview cards |
StatusDotSize |
4 DIP / 5 DIP |
Running and active application indicator dot diameter |
Typography
- Font Family:
Segoe UIacross all UI surfaces for native Windows consistency, legibility, and full Unicode/Turkish diacritic support. - Sizes:
- Body and menu items:
13 DIP - Secondary labels, badges, and Jump List category headers:
12 DIP - Titles and section headings:
15 DIP
- Body and menu items:
Visual Materials
Settings Glass: Native Desktop Acrylic (
DWMWA_SYSTEMBACKDROP_TYPE = DWMSBT_TRANSIENTWINDOW) on Windows 11 build 22621+.WindowChromeprovides the custom 48 DIP caption and native resize border. Text and icons remain opaque while settings, dock, and menu background brushes share the persisted surface opacity (60–100%, default 90%). No layered-window opacity or software blur is used. Unsupported systems and high-contrast mode use an opaque settings surface.Compact Settings Layout: One caption, a 148 DIP navigation column, 52 DIP general rows, and a fixed Apply footer. Remove introductory and persistent save-hint copy. Short auto-hide options form a vertical list. Uniform choice groups share aligned edges. The default 740 × 600 DIP window fits all general settings; smaller sizes scroll to the final option. Custom maximize sizing follows the current monitor work area and DPI.
Preference Feedback: Enable Apply only for edited preferences or recoverable settings-load errors. Surface-opacity changes preview immediately and revert to saved preferences on close, including after pin reordering. Keep startup permission errors accessible on the disabled switch and show save errors/results in the footer.
Translucent Smoked Glass: Deep translucent charcoal acrylic-style background (
#D916191Fin Dark theme,#D9F3F4F6in Light theme).Specular Top Highlight: 1 DIP top border highlight (
#4DFFFFFF) simulating light reflection on glass edges.Ambient Shadow: Soft multi-layer drop shadow (
BlurRadius="24",Direction="270",Color="#000000",Opacity="0.45") separating the dock from desktop wallpapers.Status Indicators:
- Running application: Muted 4 DIP circular dot (
#94A3B8). - Active (foreground) application: Bright illuminated 4 DIP dot (
#38BDF8). - Alert / notification: Upper-right red badge (
#EF4444).
- Running application: Muted 4 DIP circular dot (
Icons: Vector outline paths based on the Lucide icon set (24x24 coordinate box, 1.6 DIP stroke width, rounded caps) for all context menus, tray items, and dock controls.
Interaction & Motion
Continuous Fisheye Magnification
- Pointer movement across the dock calculates a continuous parabolic/cosine wave scaling factor: $$S(d) = 1.0 + (S_{peak} - 1.0) \times \cos\left(\frac{\pi \cdot d}{2 \cdot R}\right)^2$$
- Magnification smoothly affects the hovered icon and immediate neighbors within a 90 DIP influence radius ($R$).
- Items scale anchored at
(0.5, 0.95), expanding upward into the 24 DIP transparent headroom without horizontal layout displacement or icon clipping. - Status dots remain stationary at the dock base.
Multi-Window Live Thumbnails
- Interactive live DWM thumbnails are created using
DwmRegisterThumbnail. - Thumbnails fade and scale in from 95% over 160 ms with cubic ease-out.
- The preview strip floats 18 DIPs (
PreviewGap) above the dock to prevent overlapping magnified icons. - Each preview card features the application icon, window title, close button, and live window preview.
Smart Auto-Hide (IntelliHide)
- Disabled: Dock remains persistently visible.
- Smart: Dock stays visible on the desktop and behind non-overlapping windows. When an active or maximized window overlaps the bottom dock region, the dock smoothly translates down off-screen.
- Always: Dock remains hidden below the screen edge by default.
- Edge Reveal: Moving the mouse into the bottom 3 DIP trigger area instantly reveals the dock. Mouse leave triggers a 400 ms debounce before sliding down with a 220 ms cubic ease transition.
Launch Bounce
- Clicking an application icon triggers a 420 ms damped vertical launch bounce animation (-12 DIP peak) on its translate transform to provide tactile feedback while the application opens.
Project Structure
Theme.xaml: Core design system definitions, standard sizing tokens, brushes, and base control templates.Palettes/Dark.xaml: Dark theme color palette and material brushes.Palettes/Light.xaml: Light theme color palette and material brushes.ContextMenus.xaml: Vector outline icon styles, Jump List headers, and menu item templates.SettingsControls.xaml: Segmented controls, toggles, radio buttons, and preferences layout.
References: Microsoft WindowChrome, Microsoft DWM system backdrop types.