-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Description
Microsoft PowerToys version
0.94.2
Installation method
Dev build in Visual Studio
Area(s) with issue?
Image Resizer
Steps to reproduce
- Download an image file from the Internet.
- Open Properties for the file and check that Windows has blocked the file:

- Do not unblock the file.
- Right-click on the image and select Resize with Image Resizer.
- Ensure that Overwrite files is selected in Image Resizer's dialog:

- Select Resize.
- The Image Resizer error dialog is opened, saying the image could not be resized:

- Check back in the source folder. The file actually has been resized:

✔️ Expected Behavior
Image Resizer assumes that any exception which occurs during the resize operation represents a complete failure. This assumption is incorrect, as there may be errors during the replacement of the original file with the newly-resized image, or when deleting the backup file created during the replace step; both of these errors occur after the production of the resized file.
Image Resizer should detect that the original image was resized successfully but that there was an issue with the file management steps which follow. Instead of showing the default error dialog message, it should indicate that the original image was resized successfully, but the original file was not backed up and deleted to the Recycle Bin.
❌ Actual Behavior
As reported above, the default error dialog is shown, which reports that the picture could not be resized.
Additional Information
No response
Other Software
No response