nus-cs2103-AY1920S1 / pe-dev-response

0 stars 0 forks source link

Executing the showmod command for a specific module crashes the App on Ubuntu #4218

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

image.png

Platform OS: Ubuntu 18.04


[original: nus-cs2103-AY1920S1/pe-interim#4240]

marqueurs404 commented 4 years ago

Team's Response

Hi, thank you for your feedback. However, we have labelled this to be NotInScope as it appears to be a bug with the java.awt.Desktop API itself.

The Java docs in https://docs.oracle.com/javase/tutorial/uiswing/misc/desktop.html mentioned the following:

"Use the isDesktopSupported() method to determine whether the Desktop API is available. On the Solaris Operating System and the Linux platform, this API is dependent on Gnome libraries. If those libraries are unavailable, this method will return false".

We have made use of the isDesktopSupported() method on the assumption that the API will return false, however it appears that this method had caused an exception instead and was thus unexpected in our app. It is regrettable but our support for Linux distributions like Ubuntu is not as high as we would like it to be as compared to Windows and MacOS.

On another note, we have lowered the severity to medium as:

1) it is an OS-specific bug which does not affect other OSes

2) this is a minor command which is not necessary for majority of the use cases for the application

3) we have plans in v2.0 to modify the behavior of this command to not open up the browser to view the module details page but instead allow the user to view the details directly in the app itself.

Duplicate status (if any):

--