If thumbnail generation had failed for a certain image, the thumbnail from the previous successful run would have been mistakenly used.
BUG: 355590
ngraham |
Gwenview |
If thumbnail generation had failed for a certain image, the thumbnail from the previous successful run would have been mistakenly used.
BUG: 355590
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Thanks, this makes sense. Is there an easy way to force thumbnail generation to fail for an image to test this?
I just followed the steps to repeat described in the bug, i.e. create an empty file: touch test.jpg
Perfect, thanks. Works fine and seems like an appropriate solution. Please fix a typo in the comment and then this is good to go!
lib/thumbnailprovider/thumbnailgenerator.cpp | ||
---|---|---|
274 | successul -> successful |