Repository navigation
v2.11.0 — Power Menu, DWM Popup, Resize & Focus Fixes
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: optimizeLegibilitymatching 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-faceblock 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)
28cf0c8chore: bump version to 2.11.0d0af1cefix(power-popup): hide overlay when popup dismissed by focus loss to real app0ae2791fix(power-popup): fix resize, text quality, and match footer menu dimensions6ab882cfix(popup): opaque window with DWM rounded corners, per-view sizing, menu-close race on icon push10526c1fix: remove extend-frame call causing black surface, strip border styles0a048adfix: auto-height menu so popup window resizes to real content24b16dffix: confirm view auto-height (shorter than menu, like footer)8bcb384fix: reset popup confirm view on hidef7de983fix: restore OS focus with search refocus; per-view popup width (confirm 150px)339dde9feat: refocus search input when popup closes; align popup style to footer dropdown5d14fd7fix: remove DWM frame edge, make popup canvas fill windowb7ff656fix: round popup window corners to remove double border0b660b3fix: resize power popup window to measured content heightc29b147fix: set focus-escape suppression before popup steals focusb03adfffix: deliver popup toggle via tao event loop proxy629e812fix: allow tao event loop on popup thread, reset open flag on panice16449dfix: anchor power popup to real overlay window hwndd21ac04feat: separate popup window for idle power menu91eb418feat: uninstaller opt-in checkbox to delete user settings and index9282a3ffeat: in-overlay power confirm panel matching dropdown style5777068feat: instant shutdown/restart with now-or-cancel confirm, hide schtasks console flash2aef586fix: hide powershell task-query window at startupfe99c07feat: footer power menu — lock, sleep, shutdown, restart, sign out74b1c98docs: add v2.11.0 release notesf76ab8dfix(power-popup): suppress DWM show/hide animation for popupf28adfachore: update Cargo.lock for v2.11.01082ad0docs: mark Issue 11 (power menu) as FIXED, update Issue 6 roadmap