Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2492

Investigate: Fix error popup when saving an image of the homepage of IGB

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      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:

      1. Running the latest master branch on NetBeans and checking for this bug.
      2. 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.

        Attachments

          Activity

          Hide
          shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

          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.

          Show
          shamika Shamika Gajanan Kulkarni (Inactive) added a comment - 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.
          Hide
          aloraine Ann Loraine added a comment -

          Master branch installers are built and ready for testing.

          Show
          aloraine Ann Loraine added a comment - Master branch installers are built and ready for testing.
          Show
          noor91zahara Noor Zahara added a comment - PR Submitted - https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/818/igbf-2492-fix-error-pop-when-saving-an/diff
          Hide
          prutha Prutha Kulkarni (Inactive) added a comment -

          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.

          Show
          prutha Prutha Kulkarni (Inactive) added a comment - 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.
          Hide
          noor91zahara Noor Zahara added a comment - - edited

          Code diff - https://bitbucket.org/noorzahara/integrated-genome-browser-local1/branch/IGBF-2492#diff

          Testing steps

          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.

          Show
          noor91zahara Noor Zahara added a comment - - edited Code diff - https://bitbucket.org/noorzahara/integrated-genome-browser-local1/branch/IGBF-2492#diff Testing steps 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.
          Hide
          noor91zahara Noor Zahara added a comment - - edited

          Ann Loraine

          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.

          Show
          noor91zahara Noor Zahara added a comment - - edited Ann Loraine 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.
          Hide
          gchamma Jay Chamma added a comment -

          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.

          Show
          gchamma Jay Chamma added a comment - 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.
          Hide
          aloraine Ann Loraine added a comment -

          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

          Show
          aloraine Ann Loraine added a comment - 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

            People

            • Assignee:
              noor91zahara Noor Zahara
              Reporter:
              gchamma Jay Chamma
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: