KDE switches focus to Aseprite when screen is turned off

I am having an issue where often when my screen turns off, due to a keyboard short cut, time out, or the lid closing, my computer will switch apps and desktops to the one with Aseprite on it. This is annoying as I tend to leave the app open. Why is this happening and how can I stop it?

Using Arch with KDE 6.7

Aseprite installed as an app image from the website

Hi @oca, what specific version are you using? We’ve solved some issues about Aseprite being restored when it’s minimized on Linux in the latest v1.3.18.6 that you might would like to check.

Thanks for the response! I was using 1.3.17. I have just installed the new version, I will see if the issue persists.