-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UserStory] Notify Users of an unrecognizable file type and let user select a new file #83
Comments
@ShayneKaiser @Codyhintzch @ColinLouis95 and myself trying to tackle this issue. We believe the issue with the program seizing when an unrecognized file is selected is surrounding line 82 of the DisplayImage.java file and the while loops thereafter not having a case for a null pixel value. |
Allowing imagelab to accept all java compatible file is a good place to start. then throwing an exception after testing file type. |
Because choosing a file of incompatible type is an expected behavior of the user, the suggested handling is by the program logic directly (rather than using the exception mechanism). |
Unable to resolve this issue in time - we believe this problem is hand in hand with closing file dialog window seizing the program. |
@ThomasD0123 @CamiJolly1 @KaizenPool and myself are working on this issue |
Assign me too please! |
me three! |
|
…elected is not the right file type it freezes. the goal of this commit to fix this problem. It also worked help fix issue MetroCS#70 that says when you click cancel on the dialog window the program crashes. This update that was focused on fix issue MetroCS#83 also fixe issue MetroCS#70. The fix to issue MetroCS#83 is not complete. It is eable to discern between the right type of file extension. It does not send a message to the user that it is the wrong file type, but it does allow the user to select another file. I worked on this edit on bluej and Mac OS
User Story
Essential components
Story
As a Imagelab user
I want to be notified that the type of the file I selected was not recognized by Imagelab and I am allowed to select a new file
so that I know why the file wasn't opened and I'm able to continue using Imagelab in the same instance.
Acceptance Criteria
Scenario 1
Given a user in Imagelab selects an image file by navigating to File > Open
when a file type not recognized by Imagelab is selected
then the user is notified that the file type is unrecognized and the user is able to select another file.
The text was updated successfully, but these errors were encountered: