[BUG] Laucher takes a bit more time to start with a fresh session
Submission checklist
- I have searched existing issues and confirmed this is not a duplicate.
- I am using the latest available version of Noctalia.
Bug description
This is not a "Wow! How slow the launcher is!", but is a strange behavior nonetheless. I assumed that it was a UWSM thing, but I tested with my other Niri session entry without UWSM, Hyprland and MagoWM (and even with Umbriel). When the session is freshly started and fully loaded, the Launcher takes more time to start, but the subsequent ones are noticeably faster.
Steps to reproduce
- Configure Noctalia to start with the compositor;
- Login to your session and wait for it to finish starting (2-3 seconds). I waited 10, just for the test sake;
- Click on the Launcher icon or use your keybind to start the Launcher;
- Check that the first start, even with the session is fully loaded, takes 2 or more seconds to show the launcher;
Expected behavior
To have the Launcher start "instantly" since the shell is fully loaded.
Actual behavior
It takes some seconds to start on the first launch as soon as the session is loaded (or even waiting some seconds to be sure). I've noticed it some weeks back, but as I thought it was related to UWSM, I just ignored it.
Logs / error output
Noctalia version
noctalia v5.0.0 (v5.0.0-beta.10-29-g151513333525)
Compositor
Niri
Distribution
Arch-based
Environment information
Latest Noctalia compile from source and also the Beta10 available with pacman in CachyOS.Additional context
Once more, it's not a situation whre the launcher takes as long as Noctalia V4 to start, it's just a noticeable longer time to start when you first start it inside your session. I also disable animations in the compositors and even the Noctalia animations to make sure.
Source: noctalia-dev/noctalia