SUMMARY When I open an app with the magic lamp effect, and during the animation I press the icon again, the movement is not reverting. There is no effect and the window disapears instantly. I tried to do the same thing when minimizing an app (I minimized and pressed the icon again during the animation to re-open it) and the movement reversed smoothly ! The code is working but only when the app is closing. STEPS TO REPRODUCE 1. Activate the magic lamp effect in the settings 2. Open an app with the magic lamp effect 3. While the effect is happening, press the icon again 4. The effect is not reversing OBSERVED RESULT The magic lamp effect is not reverting and getting back to the taskbar. EXPECTED RESULT The magic lamp effect should reverse and go back to the taskbar. SOFTWARE/OS VERSIONS Linux/KDE Plasma: kernel 6.0.6-arch1-1 (x64) KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7