I was running some tests and at some point I got a malformatted image from unsplash. I don't know exactly how that happened, but it completely broke my dock, prevented me from changing wallpapers and even using shortcuts such as cmd+tab. (I'm on MacOS).
I found a solution for fixing my computer, but I'm wondering whether there should be some kind of file validation to make sure that the image is valid and that it can be safely used as a wallpaper.
I will try to provide more details If I happen to stumble on this problem again in the future.
I was running some tests and at some point I got a malformatted image from unsplash. I don't know exactly how that happened, but it completely broke my dock, prevented me from changing wallpapers and even using shortcuts such as cmd+tab. (I'm on MacOS).
I found a solution for fixing my computer, but I'm wondering whether there should be some kind of file validation to make sure that the image is valid and that it can be safely used as a wallpaper.
I will try to provide more details If I happen to stumble on this problem again in the future.