Status: Closed (View Workflow)
Affects Version/s: None
Fix Version/s: None
Sprint:Summer 4: 14 Jul - 28 Jul, Summer 5: 3 Aug - 14 Aug
When choosing the option "Save Image" while the user is on the homepage of IGB, an error would popup:
This error only occurs when trying to save an image on the homepage of IGB, and it would not appear if the user has a genome loaded on the screen.
If the user loads a genome, then click the "Home" icon to go back to the home page, and then try to save an image, the error would pop up again.
This bug is not present in the latest released version of IGB (9.1.4), which can be downloaded from BioViz.org.
The bug is only present in the current unreleased version of IGB (9.1.6), and can be viewed by either running the master branch of our latest repository on NetBeans or downloading the installer of the unreleased version from BitBucket.
The way I viewed this bug:
- Running the latest master branch on NetBeans and checking for this bug.
- Installing and running IGB from our master.exe installer in the LorainLab repository ( https://bitbucket.org/lorainelab/integrated-genome-browser/downloads/ )
The appropriate behavior of "Save Image" option on the homepage is to take a screen shot of the homepage. This behavior can be seen by downloading IGB from BioViz.org and testing that feature there.
Please see the attached 'error message.txt' file.
Ann Loraine text file was attached and I updated the description of the ticket to let the reader know it's there to be opened.
This error got induced when Main View (with Labels) was made as default. It works fine if a species is selected but not on the homepage.
This error is occurring due to 'Main View (with Labels)' component being empty on the homepage.
Suggestions - Revert the changes made for making Main View (with Labels) as a default option.
Code diff - https://bitbucket.org/noorzahara/integrated-genome-browser-local1/branch/IGBF-2492#diff
1. open IGB
2. Click on the camera icon on the homepage
3. A dialog with image options should open
4. Click on any of the species
5. Repeat step 2 and 3.
I followed the testing steps for about 3-4 species and the dialog was shown properly.
there was no error popup when I tried to save images for these corresponding species.
Moving the ticket forward.
Noor Zahara, please submit a PR for the same.
I am able to test the ticket successfully following the steps mentioned above. There was no error popup when I tried to save the image of the homepage of IGB. Also, I was able to save images after selecting any of the species. Moving to closed.
Thank you for noticing the problem. For the next steps, please copy the error message from the console into a text file and attach to the ticket.
Attn: Jay Chamma