Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ImageResizer] Error dialog indicates failure in circumstances where the image is resized successfully #42323

Copy link
Copy link
@daverayment

Description

@daverayment
Issue body actions

Microsoft PowerToys version

0.94.2

Installation method

Dev build in Visual Studio

Area(s) with issue?

Image Resizer

Steps to reproduce

  1. Download an image file from the Internet.
  2. Open Properties for the file and check that Windows has blocked the file:
Image
  1. Do not unblock the file.
  2. Right-click on the image and select Resize with Image Resizer.
  3. Ensure that Overwrite files is selected in Image Resizer's dialog:
Image
  1. Select Resize.
  2. The Image Resizer error dialog is opened, saying the image could not be resized:
Image
  1. Check back in the source folder. The file actually has been resized:
Image

✔️ 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

Metadata

Metadata

Assignees

Labels

Issue-BugSomething isn't workingSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Image ResizerThings regarding image resizing moduleThings regarding image resizing module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.