I have hyprpaper configured to look at a wallpapers directory and to cycle through the files in that directory every 90 seconds. I've noticed that sometimes my wallpaper will simply be a black "image". (I don't have any such images in the directory, but even if I did and hyprpaper were working correctly, it would/should cycle to a new image 90 seconds later, which it doesn't.)
The only thing I've done prior to that apparent crash is rename files in the directory hyprpaper is using to load images from. The issue doesn't show up immediately after renaming a file. Rather, it looks like you must wait until hyprpaper comes back around to try and load the file again. (I say "it looks like", b/c I don't know what file it would've shown, had it behaved correctly, so this is an educated guess.)
For example, if hyprpaper is cycling between these files:
and the following rename takes place f3.png -> f0.png, then the next time hyprpaper tries to render f3.png, it just stops working. It may be trying to load a now-non-existent file (i.e. f3.png) and crashes, instead of letting the user know something went sideways gracefully and continuing with the next file in the list.
I have hyprpaper configured to look at a wallpapers directory and to cycle through the files in that directory every 90 seconds. I've noticed that sometimes my wallpaper will simply be a black "image". (I don't have any such images in the directory, but even if I did and hyprpaper were working correctly, it would/should cycle to a new image 90 seconds later, which it doesn't.)
The only thing I've done prior to that apparent crash is rename files in the directory hyprpaper is using to load images from. The issue doesn't show up immediately after renaming a file. Rather, it looks like you must wait until hyprpaper comes back around to try and load the file again. (I say "it looks like", b/c I don't know what file it would've shown, had it behaved correctly, so this is an educated guess.)
For example, if hyprpaper is cycling between these files:
and the following rename takes place
f3.png -> f0.png, then the next time hyprpaper tries to renderf3.png, it just stops working. It may be trying to load a now-non-existent file (i.e.f3.png) and crashes, instead of letting the user know something went sideways gracefully and continuing with the next file in the list.