Skip to content

v2.11.0 — Power Menu, DWM Popup, Resize & Focus Fixes

Choose a tag to compare

@haxllo haxllo released this 02 Aug 14:40
· 785 commits to master since this release

Power menu with lock, sleep, shutdown, restart, sign out from the overlay footer, plus a separate DWM popup in idle state. Uninstaller option to delete settings. Popup resize, text quality, and focus-loss dismissal all stabilized.

Changelog (24 commits since v2.10.0)

Features

  • Power menu: Lock, Sleep, Shutdown, Restart, Sign Out from the overlay footer
  • Idle power popup: separate DWM-framed window when no results are shown
  • In-overlay confirm panel: Shutdown/Restart now require confirmation, matching the popup flow
  • Uninstaller settings opt-in: checkbox to delete user config and index on uninstall

Bug Fixes

  • Popup resize: window now resizes correctly between menu (130px) and confirm (150px) views — IPC was reading wrong JSON path, never worked before
  • Confirm→menu resize: cancel button now shrinks the popup back to menu width
  • Resize on re-open: popup always starts at menu size, no longer stuck at confirm width between opens
  • Text quality: DWM popup WebView now loads InterVariable font (was falling back to Segoe UI)
  • Text rendering: added text-rendering: optimizeLegibility matching the overlay
  • DWM double border: removed CSS borders from popup panels — DWM provides window-level rounded corners
  • Focus-loss dismissal: clicking outside Nex with popup open now properly hides the overlay (was stuck visible)
  • Power popup focus: escape suppression, 300ms retry loop, spurious WM_KILLFOCUS grace period
  • DWM fade animation removed: popup now appears and dismisses instantly (was showing DWM default fade transition)
  • Issue 11 marked FIXED: power menu documented as shipped, added to Win-as-default infrastructure checklist

Architecture

  • power_popup.rs: standalone tao+wry window with own WebView, DWM rounded corners, frameless WS_POPUP
  • Font extraction: @font-face block extracted from style.css and injected inline into popup HTML
  • Size management: JS reports hardcoded widths (130/150px), Rust resets size synchronously on show

Commits (27 since v2.10.0)

  • 28cf0c8 chore: bump version to 2.11.0
  • d0af1ce fix(power-popup): hide overlay when popup dismissed by focus loss to real app
  • 0ae2791 fix(power-popup): fix resize, text quality, and match footer menu dimensions
  • 6ab882c fix(popup): opaque window with DWM rounded corners, per-view sizing, menu-close race on icon push
  • 10526c1 fix: remove extend-frame call causing black surface, strip border styles
  • 0a048ad fix: auto-height menu so popup window resizes to real content
  • 24b16df fix: confirm view auto-height (shorter than menu, like footer)
  • 8bcb384 fix: reset popup confirm view on hide
  • f7de983 fix: restore OS focus with search refocus; per-view popup width (confirm 150px)
  • 339dde9 feat: refocus search input when popup closes; align popup style to footer dropdown
  • 5d14fd7 fix: remove DWM frame edge, make popup canvas fill window
  • b7ff656 fix: round popup window corners to remove double border
  • 0b660b3 fix: resize power popup window to measured content height
  • c29b147 fix: set focus-escape suppression before popup steals focus
  • b03adff fix: deliver popup toggle via tao event loop proxy
  • 629e812 fix: allow tao event loop on popup thread, reset open flag on panic
  • e16449d fix: anchor power popup to real overlay window hwnd
  • d21ac04 feat: separate popup window for idle power menu
  • 91eb418 feat: uninstaller opt-in checkbox to delete user settings and index
  • 9282a3f feat: in-overlay power confirm panel matching dropdown style
  • 5777068 feat: instant shutdown/restart with now-or-cancel confirm, hide schtasks console flash
  • 2aef586 fix: hide powershell task-query window at startup
  • fe99c07 feat: footer power menu — lock, sleep, shutdown, restart, sign out
  • 74b1c98 docs: add v2.11.0 release notes
  • f76ab8d fix(power-popup): suppress DWM show/hide animation for popup
  • f28adfa chore: update Cargo.lock for v2.11.0
  • 1082ad0 docs: mark Issue 11 (power menu) as FIXED, update Issue 6 roadmap

Binary