TabBox: Fix loading a different switcher after one has failed
We need to reset the QML Item on failure or trying to load a different switcher afterwards will pick a wrong codepath and also fail.
BUG: 445455 FIXED-IN: 5.25.4
This might be a bit of an edge case bug, but it can be frustrating for users downloading failing switchers from the store (or if you're working on tabbox switchers :D)
Test Steps:
- Open the "Task Switcher" settings page
- Load a failing switcher (for instance, downloading a non up-to-date one from the store like "Windows Wall")
- Apply
-
Alt-Tab
and see how it notifies it's failing to load - Load a working switcher that you haven't used yet in this kwin session (Big Icons, ...)
- Apply and
Alt-Tab
Without the MR, this second switcher will also fail to load.