Hello, I don’t know if it’s the right place for that, but here is my question :
I have made a plugin for wallpaper (the repo is here). For that, I have just duplicated the default image plugin.
Now I want to add the slideshow plugin into it because some user want my plugin to work with.
Knowing that the code between image and slideshow is very similar, I just have modified my code, and now I can switch between those two via a checkbox.
You can find the new code into the “feat/slideshow” branch of the repo.
But, I have a problem with the slideshow component when I click on my checkbox :
- I open the wallpaper config popup
- Choose my plugin
- Click on the slideshow checkbox
- The list of wallpaper shows an error message “No items found”
- I click on save
- (the wallpaper change dynamically on the background, so it works)
- reopen the wallpaper config popup
- and now the list of wallpaper is ok
So my thought is : when I click on the checkbox, I need to refresh something for having the list of the wallpaper up to date. It is possible in the present configuration ? If yes, how can I do that ?
The screen with the error message is here : https://user-images.githubusercontent.com/30547569/233043009-e27e814b-eba4-480e-ac2e-d04dfa56ee2c.png