Skip to content

WallpaperLive v0.2.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 10:12
· 37 commits to main since this release

WallpaperLive v0.2.0

Added

  • Native dark Ink Acrylic backdrop across the entire window including a borderless custom client titlebar (WM_NCCALCSIZE, WM_NCACTIVATE, WM_NCHITTEST, and custom-rendered - / □ / ✕ caption buttons separated by a vertical divider) via DwmEnableBlurBehindWindow (CreateRectRgn(0, 0, -1, -1)) + SetWindowCompositionAttribute (WCA_ACCENT_POLICY, cool-neutral slate translucent tint 0x1450_4e4d), resetting DWMWA_SYSTEMBACKDROP_TYPE to DWMSBT_NONE and client frame margins to {0} so glass blur stays genuinely translucent both when focused and when unfocused without Windows DWM's #2B2B2B inactive caption strip or grey transition backdrop sheets.
  • Architectural 1px dividers (DIVIDER_ALPHA 136) along the top edge, header/footer seams, caption button divider, sidebar column/actions split, Settings group action headers, and Sources bottom guidance bar.
  • Rounded Library/Settings tabs, right-aligned 3D pill toggle switches in Settings, an Acrylic blur (Windows transparency On) toggle in Settings persisted in settings v4 (acrylic=true/false), and a Saweria support link alongside Buy me a coffee.
  • Custom rounded Acrylic popup dropdowns (WallpaperLive.Dropdown, matching/exceeding selector width on toolbar/sidebar pickers and used on library tile context menus, falling back to system menus in High Contrast).
  • Smooth ease-out UI transitions for Library page slides (250ms), Library/Settings/Sources tab cross-slides (260ms, pill 210ms), pill toggle travel (150ms), and dropdown reveal, driven by an on-demand timer matched to DWM composition refresh rate (DwmGetCompositionTimingInfo, clamped 8..=16ms, 16ms fallback) with scoped winmm timeBeginPeriod(1)/timeEndPeriod(1) that runs whenever the window is visible and non-minimized (ignoring OS Reduce Motion) and drops temporary layer buffers on settle.
  • Detailed two-line footer wallpaper specifications (STATUS control) reporting live resolution, actual source vs dropdown-limited FPS (native (limit ...) / capped (source ...) / Still image), codec + HDR badge, duration, file size, audio stream indicator, and Original media / Display cache source (deduplicated across displays or listed compactly per display).

Changed

  • Tune cool-neutral slate Acrylic glassmorphism and contrast balance (PANEL_ALPHA 0 across header/canvas/footer, ACRYLIC_TINT_COLOR 0x1450_4e4d (AA=0x14, B=0x50=80, G=0x4e=78, R=0x4d=77) matching steady-state Win11 DWM Acrylic neutrality while MUTED keeps >= 4.5:1 over white, frosted Card groups CARD #302f2d at CARD_ALPHA 56, controls 88, disabled glass buttons 48/56, hover 132, active tiles 148, focal Orange 244, glass rims/borders 185, dividers 136, layered Search 255, dropdowns 116, sharper LINE 42%/HIGHLIGHT 60%/GLASS_RIM 74% mixes and clearer DISABLED_TEXT 26% typography) so background Acrylic blur shows through clearly as bright frosted glass while text, buttons, cards, borders, and active states stay sharp and legible.
  • Composite page and tab slides with ease_out_quart phase-separated travel ((clip_w / 22.0).clamp(14.0, 22.0) exit over raw / 0.55, (clip_w / 16.0).clamp(16.0, 28.0) enter, <= 4.0ms frame-0 zero-jump guard, integer fixed-point horizontal subpixel sampling via sample_row_subpixel and div255_round with w_sum = (w_old + w_new).max(256) plus w_old == 0 / zero-alpha fast paths), restrict repaints via paint_into_rect (intersect_rects(ps.rcPaint, client)), skip_trans_bg background skipping in paint_scene, filter_clip child clipping in paint_children_with_visibility, and separate header tab-pill vs RDW_NOCHILDREN body trans.clip invalidations in tick_animations for smooth maximized transitions, full is_page_control WM_SETREDRAW freeze/unfreeze + ValidateRect without WS_VISIBLE churn during step_page capture setup, synchronous sync_child_positions in WM_SIZE, post-transition pager/header redraws, and atomic unhide-before-redraw (RedrawWindow(..., RDW_FRAME | RDW_UPDATENOW | RDW_ALLCHILDREN)) on transition settle to eliminate slide jitter and blank flash frames.
  • Expand cached thumbnails to 162 (MAX_CACHED_THUMBNAILS = 162), prefetch Library items in priority order [current page, selected, page+1, page-1, remaining pages], allow visible Library thumbnail prefetch to continue across playback pauses (battery, manual, maximized, preparation) while pausing only on off-screen session states (thumbnail_paused), drain thumbnail_rx immediately on worker completion/retry without stalling on worker.is_finished(), and invalidate only matching visible tile/preview controls on completion instead of reloading "MP4" placeholders on Next/Previous.
  • Restrict Add folder (library::scan_folder) to live/animated formats (core::live_extension: mp4, gif, mkv, webm, mov, avi, mpg, mpeg, m4v, apng), skipping .jpg and other static images (png, jpg, jpeg, bmp, webp) while preserving supported_extension for single-file Add wallpaper, drag-and-drop, and existing recent.txt entries.
  • Respect Windows EnableTransparency (HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize) and SPI_GETHIGHCONTRAST, updating live on WM_SETTINGCHANGE, WM_THEMECHANGED, WM_DWMCOLORIZATIONCOLORCHANGED, and WM_DWMCOMPOSITIONCHANGED (and refreshing SWP_FRAMECHANGED on startup) so turning OS transparency effects off cleanly restores WallpaperLive's #111111 Ink Black dark theme instead of DWM solid grey.
  • Add 3D glass depth (top specular catchlights, bottom rim shadows, pressed bevel inversion, hover tracking via TME_LEAVE, custom caption button hover/pressed pills and anti-aliased glyphs, and raised 3D spherical toggle knobs) while keeping video thumbnails, active badges, and Cream typography sharp.
  • Match label, toggle switch, and unselected status surfaces to their acrylic or card host alpha so no rectangular patches appear behind text or rounded overlays, and mask backgrounds before drawing composited labels and vector glyphs.

Fixed

  • Fix custom WallpaperLive.Dropdown item click selection (State::finish ignores trailing None after selection, GWLP_USERDATA clears before conditional ReleaseCapture(), WM_MOUSEACTIVATE returns MA_NOACTIVATE, and outside clicks are dismissed cleanly when uncaptured) so mouse and keyboard selections are never overwritten by exit WM_CAPTURECHANGED or popup activation.
  • Fix controls from Library, Sources, Settings, and header Add wallpaper/Add folder stacking simultaneously after animated tab or page transitions by suspending WM_SETREDRAW only on already-visible children that stay visible (never self.hwnd or WS_EX_LAYERED SEARCH), reconciling exact control_visible state via SWP_NOREDRAW + ValidateRect, and invalidating the header strip when toggling Settings.
  • Eliminate duplicated "Search by filename" cue text and tab/page transition flicker across Next/Previous page flips and Library/Settings/Sources switches by keeping SEARCH opaque (SEARCH_ALPHA 255) while WS_EX_LAYERED for direct typing/caret drawing, stripping WS_EX_LAYERED before SWP_HIDEWINDOW | SWP_NOREDRAW and restoring it before SWP_SHOWWINDOW | SWP_NOREDRAW, driving step_page via begin_transition_with_hide over TILE_BASE..TILE_BASE+9, calling begin_transition_with_hide before header/pager invalidation, and unhiding anim.hidden controls prior to a single atomic RedrawWindow(..., RDW_INVALIDATE | RDW_FRAME | RDW_UPDATENOW | RDW_ALLCHILDREN) commit.
  • Fix black rectangular borders behind 3D pill toggle switches when Acrylic transparency is Off (!glass) by masking/tinting checkbox rows to opaque CARD alpha (255) and preserving 255 background alpha outside the pill in draw_toggle_switch.
  • Restore native Windows taskbar minimize/restore fade animations (enable_backdrop sets DWMWA_TRANSITIONS_FORCEDISABLED to 0) while preserving neutral cool-slate frosted Acrylic parity (R-B = -3, without warm/yellow tint shifts or unblurred DWM sheets) across taskbar show/hide, minimize, maximize, and unmaximize animations: prime_backdrop_capture and begin_backdrop_transition capture a 480x270 monitor backdrop (WM_QUERYOPEN, WM_SYSCOMMAND across all of SC_MINIMIZE | SC_MAXIMIZE | SC_RESTORE, non-drag WM_WINDOWPOSCHANGING size changes guarded by SIZE_MOVE_PROPERTY from WM_ENTERSIZEMOVE/WM_EXITSIZEMOVE, and App::show), capturing unobstructed desktop pixels when iconic/hidden or preserving cached raw_pixels (with current_wallpaper_key / active thumbnail / 0xFF08_090C fallback when stale) inside win_rect when visible, run a 3-pass separable box blur (BACKDROP_BLUR_RADIUS 5) + calibrated tint_transition_backdrop_pixel (80% desaturation toward y_px, compressed y_target = 68 + (y_px * 24 + 127) / 255, 36/255 blend toward (77, 78, 80)) into TRANSITION_BACKDROP, resolve live client_origin via ClientToScreen in blend_transition_backdrop (skipping during IN_CAPTURE_REGION) so non-opaque PaintBuffer pixels match idle Acrylic even across window size changes, keep TRANSITION_BACKDROP and RESTORE_BACKDROP_TIMER_ID alive across WM_SIZE (SIZE_MINIMIZED, SIZE_MAXIMIZED, SIZE_RESTORED) while syncing child controls via sync_child_positions and SWP_NOCOPYBITS (with take_synced_layout avoiding duplicate passes in apply_layout_with_visibility), and hand back cleanly to live hardware ACCENT_ENABLE_ACRYLICBLURBEHIND after the 340ms RESTORE_BACKDROP_TIMER_ID (RESTORE_BACKDROP_MS = 340).
  • Fix missing "MP4" / "GIF" / "JPG" thumbnails in thumbnail::extract when Windows Shell (IShellItemImageFactory::GetImage) returns bitmaps larger than 480x270 (such as 640x480, 768x432, 150x422, or 768x768) by accepting source bitmaps up to 8192x8192 and aspect-fit downscaling them to <= 480x270 via HALFTONE StretchBlt into a top-down 32bpp CreateDIBSection before encoding.
  • Keep live wallpapers paused in place (retaining the last rendered video frame while trimming resident working-set memory) when maximizing windows, entering fullscreen apps, or running on battery so returning to the desktop resumes immediately without reload flicker; release decoders to Dormant only for off-screen session states (locked, remote, disconnected, suspended, display_off).
  • Supply premultiplied alpha for layered acrylic panels, frosted buttons/tiles, and rounded card SDF masking (apply_rounded_rect_mask), keeping media and focal controls crisp without opaque corner artifacts; no global window opacity or bitmap tint.
  • Replace residual corner fills on rounded buttons, tabs, tiles, and pager controls using host-aware SDF corner masking and CS_PARENTDC removal without altering button hit-testing.
  • Remove the floating pager background card, suppress click-triggered focus rings via ODS_NOFOCUSRECT/UISF_HIDEFOCUS, draw dark custom checkboxes in Settings, and route dropdown/tile context menus through dark owner-drawn popups.
  • Update the Settings Product website link to https://livelydesk.vercel.app.
  • Reduce CPU/RAM/GPU overhead on low-spec hardware: trim working set when idle/paused without unloading visible desktop surfaces, throttle WTS queries, cache status/font/brush GDI objects, run thumbnail ffmpeg/ffprobe extraction at below-normal priority, and configure lightweight libmpv output buffers.
  • Keep search typing, selection, and caret painting in a translucent layered child surface (LWA_ALPHA 216) so direct edit repaints stay dark and readable over acrylic.
  • Repaint the whole workspace in opaque dark colors if backdrop or buffered painting is unavailable. Hidden tabs remain hidden; choosing a display still does not apply a wallpaper.

Verification and limits

  • The opt-in desktop fixture checks acrylic background/status alignment, opaque card/search pixels, minimize/restore backdrop persistence, focused and unfocused black-vs-white behind-window luminance transmission (delta >= 12), and opaque #111111 (abs_diff <= 2) disable_backdrop fallback across Library, Settings, and Sources captures at two sizes. Background test patterns are not part of the UI.
  • Focus-persistent Acrylic uses DwmEnableBlurBehindWindow (CreateRectRgn(0, 0, -1, -1)) + SetWindowCompositionAttribute (with DWMSBT_NONE, MARGINS::default(), and WM_NCCALCSIZE custom caption); when Windows disables Transparency effects (EnableTransparency == 0) or enables High Contrast, WallpaperLive disables the backdrop and renders its #111111 Ink Black + #302f2d Card dark theme instead of DWM's default grey fallback.
  • Release v0.2.0 publishes wallpaperlivesetup-v0.2.0.exe and SHA256SUMS.txt via the GitHub Actions Release workflow.

Download and verification

Installer SHA256: 5be1530bc67b65fbfceca7f8ab50da203356221efa11190409c99ea12ec0863d

Installation notes

  • Unsigned build. Keep Windows security protections enabled and use trusted local media.
  • Bring your own live wallpapers. WallpaperLive applies your local files; it does not provide a wallpaper catalog, marketplace or wallpaper downloads.
  • Setup reuses a verified decoder or local archive; otherwise it asks before a one-time decoder download. No wallpapers or decoder binaries are bundled.
  • Setup can launch the app on completion, but does not apply a wallpaper or enable startup automatically. Installation and live desktop testing remain manual.