Background tasks temporry opens instance on task manager under wayland

I have a c++ executable I wrote that runs in the background, sometimes running some QProcesses. Under X11 it was completely invisible, but under Wayland everytime I run it with a keystroke this happens:

img-2023-05-06-16-46-34

the loading icon stays there for about 2-3 seconds, then goes away.
why does this happen? Is it a wayland problem or a problem of my program? Can I prevent it in any way?

thanks in advance!

EDIT: It’s not my program’s fault, as even running sleep 5 as custom shortcut commad produces this loading icon in the task manager. Should I report it as a bug?

This will be fixed in the upcoming Plasma 5.27.5 release.

See Don't create Plasma activation feedback if StartupNotify is false (!3974) · Merge requests · Plasma / KWin · GitLab

2 Likes