Repository navigation
WallpaperLive v0.2.0
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) viaDwmEnableBlurBehindWindow(CreateRectRgn(0, 0, -1, -1)) +SetWindowCompositionAttribute(WCA_ACCENT_POLICY, cool-neutral slate translucent tint0x1450_4e4d), resettingDWMWA_SYSTEMBACKDROP_TYPEtoDWMSBT_NONEand client frame margins to{0}so glass blur stays genuinely translucent both when focused and when unfocused without Windows DWM's#2B2B2Binactive caption strip or grey transition backdrop sheets. - Architectural
1pxdividers (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, pill210ms), pill toggle travel (150ms), and dropdown reveal, driven by an on-demand timer matched to DWM composition refresh rate (DwmGetCompositionTimingInfo, clamped8..=16ms,16msfallback) with scopedwinmmtimeBeginPeriod(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 (
STATUScontrol) reporting live resolution, actual source vs dropdown-limited FPS (native (limit ...)/capped (source ...)/Still image), codec +HDRbadge, duration, file size, audio stream indicator, andOriginal media/Display cachesource (deduplicated across displays or listed compactly per display).
Changed
- Tune cool-neutral slate Acrylic glassmorphism and contrast balance (
PANEL_ALPHA 0across 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 groupsCARD #302f2datCARD_ALPHA 56, controls88, disabled glass buttons48/56, hover132, active tiles148, focal Orange244, glass rims/borders185, dividers136, layered Search255, dropdowns116, sharperLINE 42%/HIGHLIGHT 60%/GLASS_RIM 74%mixes and clearerDISABLED_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_quartphase-separated travel ((clip_w / 22.0).clamp(14.0, 22.0)exit overraw / 0.55,(clip_w / 16.0).clamp(16.0, 28.0)enter,<= 4.0msframe-0 zero-jump guard, integer fixed-point horizontal subpixel sampling viasample_row_subpixelanddiv255_roundwithw_sum = (w_old + w_new).max(256)plusw_old == 0/ zero-alpha fast paths), restrict repaints viapaint_into_rect(intersect_rects(ps.rcPaint, client)),skip_trans_bgbackground skipping inpaint_scene,filter_clipchild clipping inpaint_children_with_visibility, and separate header tab-pill vsRDW_NOCHILDRENbodytrans.clipinvalidations intick_animationsfor smooth maximized transitions, fullis_page_controlWM_SETREDRAWfreeze/unfreeze +ValidateRectwithoutWS_VISIBLEchurn duringstep_pagecapture setup, synchronoussync_child_positionsinWM_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), drainthumbnail_rximmediately on worker completion/retry without stalling onworker.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.jpgand other static images (png,jpg,jpeg,bmp,webp) while preservingsupported_extensionfor single-fileAdd wallpaper, drag-and-drop, and existingrecent.txtentries. - Respect Windows
EnableTransparency(HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize) andSPI_GETHIGHCONTRAST, updating live onWM_SETTINGCHANGE,WM_THEMECHANGED,WM_DWMCOLORIZATIONCOLORCHANGED, andWM_DWMCOMPOSITIONCHANGED(and refreshingSWP_FRAMECHANGEDon startup) so turning OS transparency effects off cleanly restores WallpaperLive's#111111Ink 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.Dropdownitem click selection (State::finishignores trailingNoneafter selection,GWLP_USERDATAclears before conditionalReleaseCapture(),WM_MOUSEACTIVATEreturnsMA_NOACTIVATE, and outside clicks are dismissed cleanly when uncaptured) so mouse and keyboard selections are never overwritten by exitWM_CAPTURECHANGEDor popup activation. - Fix controls from
Library,Sources,Settings, and headerAdd wallpaper/Add folderstacking simultaneously after animated tab or page transitions by suspendingWM_SETREDRAWonly on already-visible children that stay visible (neverself.hwndorWS_EX_LAYEREDSEARCH), reconciling exactcontrol_visiblestate viaSWP_NOREDRAW+ValidateRect, and invalidating the header strip when togglingSettings. - Eliminate duplicated
"Search by filename"cue text and tab/page transition flicker acrossNext/Previouspage flips andLibrary/Settings/Sourcesswitches by keepingSEARCHopaque (SEARCH_ALPHA 255) whileWS_EX_LAYEREDfor direct typing/caret drawing, strippingWS_EX_LAYEREDbeforeSWP_HIDEWINDOW | SWP_NOREDRAWand restoring it beforeSWP_SHOWWINDOW | SWP_NOREDRAW, drivingstep_pageviabegin_transition_with_hideoverTILE_BASE..TILE_BASE+9, callingbegin_transition_with_hidebefore header/pager invalidation, and unhidinganim.hiddencontrols prior to a single atomicRedrawWindow(..., 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 opaqueCARDalpha (255) and preserving255background alpha outside the pill indraw_toggle_switch. - Restore native Windows taskbar minimize/restore fade animations (
enable_backdropsetsDWMWA_TRANSITIONS_FORCEDISABLEDto0) 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_captureandbegin_backdrop_transitioncapture a480x270monitor backdrop (WM_QUERYOPEN,WM_SYSCOMMANDacross all ofSC_MINIMIZE | SC_MAXIMIZE | SC_RESTORE, non-dragWM_WINDOWPOSCHANGINGsize changes guarded bySIZE_MOVE_PROPERTYfromWM_ENTERSIZEMOVE/WM_EXITSIZEMOVE, andApp::show), capturing unobstructed desktop pixels when iconic/hidden or preserving cachedraw_pixels(withcurrent_wallpaper_key/ active thumbnail /0xFF08_090Cfallback when stale) insidewin_rectwhen visible, run a 3-pass separable box blur (BACKDROP_BLUR_RADIUS 5) + calibratedtint_transition_backdrop_pixel(80% desaturation towardy_px, compressedy_target = 68 + (y_px * 24 + 127) / 255,36/255blend toward(77, 78, 80)) intoTRANSITION_BACKDROP, resolve liveclient_originviaClientToScreeninblend_transition_backdrop(skipping duringIN_CAPTURE_REGION) so non-opaquePaintBufferpixels match idle Acrylic even across window size changes, keepTRANSITION_BACKDROPandRESTORE_BACKDROP_TIMER_IDalive acrossWM_SIZE(SIZE_MINIMIZED,SIZE_MAXIMIZED,SIZE_RESTORED) while syncing child controls viasync_child_positionsandSWP_NOCOPYBITS(withtake_synced_layoutavoiding duplicate passes inapply_layout_with_visibility), and hand back cleanly to live hardwareACCENT_ENABLE_ACRYLICBLURBEHINDafter the340msRESTORE_BACKDROP_TIMER_ID(RESTORE_BACKDROP_MS = 340). - Fix missing
"MP4"/"GIF"/"JPG"thumbnails inthumbnail::extractwhen Windows Shell (IShellItemImageFactory::GetImage) returns bitmaps larger than480x270(such as640x480,768x432,150x422, or768x768) by accepting source bitmaps up to8192x8192and aspect-fit downscaling them to<= 480x270viaHALFTONEStretchBltinto a top-down 32bppCreateDIBSectionbefore 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
Dormantonly 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_PARENTDCremoval 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_backdropfallback 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(withDWMSBT_NONE,MARGINS::default(), andWM_NCCALCSIZEcustom caption); when Windows disables Transparency effects (EnableTransparency == 0) or enables High Contrast, WallpaperLive disables the backdrop and renders its#111111Ink Black +#302f2dCard dark theme instead of DWM's default grey fallback. - Release v0.2.0 publishes
wallpaperlivesetup-v0.2.0.exeandSHA256SUMS.txtvia the GitHub Actions Release workflow.
Download and verification
- Windows x64 installer
- SHA256SUMS.txt
- GitHub Actions build: formatting, Clippy, source tests, release compilation and installer build passed.
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.