nus-cs2103-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Invalid image causes application to show ... #3159

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

When any non-image file is used as a profile image, the following can be observed.

image.png

The following screen should have been shown instead, perhaps with a different text underneath:

image.png

Making the application fullscreen does however show the filename, but there is no error message presented to the user.

image.png


[original: nus-cs2103-AY2021S2/pe-interim#3159] [original labels: severity.Low type.FunctionalityBug]

Tomashiwa commented 3 years ago

Team's Response

Cannot be reproduced with non-image file. For example, we use the command edit 1 i/john_doe.txt, the application will feedback the user that the file is non-image and the profile picture will not be updated. image.png

Duplicate status (if any):

--