Skip to content

Change the launch animation to improve usability with and ease-out - #98

Open
jimd0t wants to merge 1 commit into
typecraft-dev:mainfrom
jimd0t:ease-out-first-open
Open

jimd0t wants to merge 1 commit into
typecraft-dev:mainfrom
jimd0t:ease-out-first-open

Conversation

@jimd0t

@jimd0t jimd0t commented Nov 15, 2026

Copy link
Copy Markdown

On the first open, Hyprland maps a fresh layer surface and runs its own slow, near-linear fade. The launcher shows nothing for ~130 ms and then fades in over ~150 ms, so it reads as a delayed ease-in.

This PR:

  • maps the transparent, inputless surface when the plugin loads, so the first open is a single commit and skips Hyprland's map animation;
  • reveals the content with a 90 ms Easing.OutCubic fade (fast start, soft landing);
  • keeps closing instant.

Only ui/LauncherWindow.qml changes.

Cold first open: opacity vs time

Measured by restarting the shell, toggling, and sampling one pixel of the card with grim roughly every 20 ms:

first visible fully opaque
before (main) ~130 ms ~280 ms
after ~70–110 ms ~140–170 ms

Caveats: sampling resolution is about ±20 ms. Already-mapped (warm) opens used to snap in at ~60 ms and now take ~60 ms longer to reach full opacity because of the fade. Tested on Hyprland with a single focused monitor.

On the first open Hyprland mapped a fresh surface and ran its own slow,
near-linear fade, so the launcher showed nothing for ~130 ms and then
faded in over ~150 ms. Map the transparent, inputless surface when the
plugin loads, and reveal the content with a 90 ms OutCubic fade. Closing
stays instant.
@jimd0t jimd0t changed the title Pre-map the launcher and ease-out the first open Change the launch animation to improve usability with and ease-out Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant