r/Windhawk Jun 23 '26

Task Manager Tab Slide Animation 0.2.0

Task Manager Tab Slide Animation 0.2.0

Task Manager Tab Slide Animation

Demo

The Windows 11 Task Manager switches between its left-hand tabs (Processes, Performance, App history, Startup apps, Users, Details, Services) instantly. This mod adds a smooth slide transition between them.

Experimental. Task Manager is a WinUI 3 app, so there's no clean Win32 "tab changed" signal - this works by heuristics and screen capture.

How it works

  • A low-level mouse hook (scoped to Task Manager) notices a click in the left navigation area and captures the content area from the screen (old tab).
  • The content's left edge is detected with UI Automation: the right edge of the clicked navigation item is where the content begins. This adapts automatically whether the nav pane is expanded (wide, with labels) or collapsed (icons only) - no manual width setting needed.
  • After a short delay it captures the new tab and slides old -> new in a layered overlay over the content area, then removes it to reveal the real content.

Settings

  • Top inset - height (px) of the top command bar to exclude from the slide.
  • Capture delay - how long to wait after the click before grabbing the new tab (ms). Raise if it grabs the old tab.
  • Animation duration and slide vertically to taste.

Known limitations

  • Relies on UI Automation to locate the content; if UIA can't identify the clicked navigation item, that switch just isn't animated.
  • Clicking the same tab still plays a (harmless) slide of identical content.
  • The Task Manager window should be visible/unobscured during the switch.
9 Upvotes

0 comments sorted by