Skip to content

Perdanga11 v1.2

Choose a tag to compare

@PerdangaSoftware PerdangaSoftware released this 24 Sep 15:46
· 58 commits to main since this release
cb54b02

Interception & Start Menu Suppression

  • Moved keyboard and mouse hooks to a dedicated thread with its own message pump to eliminate input lag and drops.
  • Replaced fragile window checks with process-level identification for StartMenuExperienceHost.exe and SearchHost.exe.
  • Added an active 100ms watchdog timer and taskbar geometry fallbacks to instantly catch and hide native Start or Search windows.
  • Refined fullscreen detection to ignore standard maximized windows and desktop shells.

Search Engine & Indexing Performance

  • Implemented lock-free searching via immutable snapshots (IndexSnapshot), preventing UI thread blocking.
  • Optimized query processing by computing keyboard layout conversions and tokenization once per search instead of per item.
  • Cleaned up legacy, unoptimized matching logic and old alias tables.

Memory & Resource Management

  • Added a shortcut icon cache (s_shortcutIconCache) to resolve critical GDI HICON handle leaks from repeated .lnk file extractions.
  • Cached configuration path resolution and permission tests after the initial check to eliminate redundant I/O calls.

UI, Input & Multi-Monitor Fixes

  • Fixed mouse click and drag-and-drop failures on secondary monitors with negative coordinates by using proper coordinate unpacking macros.
  • Changed the mouse hook to post close messages asynchronously rather than synchronously inside the callback.
  • Added debounced WM_DISPLAYCHANGE handling to automatically recalculate coordinates when display settings change.

System Integration & Thread Safety

  • Modernized UIPI security by replacing global message filtering with window-scoped ChangeWindowMessageFilterEx.
  • Synchronized all tab modifications and reordering under mutex locks to prevent data races with active search workers.
  • Fixed modal dialog loops to properly preserve and repost WM_QUIT events to the main loop.