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

Allow .svg export always, even Whole Frame

    Details

    • Story Points:
      0.5
    • Epic Link:
    • Sprint:
      Sprint 25, Sprint 26

      Description

      On some platforms, the ".svg" file format option does not work well when user attempts to save the entire frame.

      To mitigate this, the Image Save window disables image save when user has selected "Whole Frame" and ".svg" as an option.

      Rather than disable this option on all platforms, restore it and document it as a known bug.

      Also re-order the menu options:

      PNG should be first
      SVG should be next
      JPG should be third

      And PNG should be the default selection.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Backlog Grooming Meeting [ 30 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            ann.loraine Ann Loraine made changes -
            Fix Version/s 8.4.1 Minor Release [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-594 [ 15667 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Fix Version/s 8.4.2 Minor Release [ 10004 ]
            Fix Version/s 8.4.1 Minor Release [ 10002 ]
            dcnorris David Norris (Inactive) made changes -
            Sprint Backlog Grooming Meeting [ 30 ] Backlog Grooming Meeting 2 [ 31 ]
            dcnorris David Norris (Inactive) made changes -
            Sprint Backlog Grooming Meeting 2 [ 31 ] Sprint 23 [ 30 ]
            dcnorris David Norris (Inactive) made changes -
            Rank Ranked lower
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 23 [ 30 ]
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 24 [ 31 ]
            dcnorris David Norris (Inactive) made changes -
            Rank Ranked higher
            dcnorris David Norris (Inactive) made changes -
            Fix Version/s 8.4.3 [ 10100 ]
            Fix Version/s 8.4.2 Minor Release [ 10004 ]
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 24 [ 31 ]
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 25 [ 32 ]
            dcnorris David Norris (Inactive) made changes -
            Rank Ranked higher
            tmall Tarun Mall (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            tmall Tarun Mall (Inactive) made changes -
            Status In Progress [ 3 ] Pull Request Submitted [ 10101 ]
            jeckstein John Eckstein (Inactive) made changes -
            Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
            jeckstein John Eckstein (Inactive) made changes -
            Assignee Tarun Mall [ tmall ] Mason Meyer [ mason ]
            mason Mason Meyer (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            mason Mason Meyer (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Needs Testing [ 10002 ]
            mason Mason Meyer (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            Hide
            mason Mason Meyer (Inactive) added a comment -

            Reassigning to Tarun to make the changes requested by Ann:

            "Also re-order the menu options:

            PNG should be first
            SVG should be next
            JPG should be third

            And PNG should be the default selection."

            Show
            mason Mason Meyer (Inactive) added a comment - Reassigning to Tarun to make the changes requested by Ann: "Also re-order the menu options: PNG should be first SVG should be next JPG should be third And PNG should be the default selection."
            mason Mason Meyer (Inactive) made changes -
            Assignee Mason Meyer [ mason ] Tarun Mall [ tmall ]
            mason Mason Meyer (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Open [ 1 ]
            mason Mason Meyer (Inactive) made changes -
            Rank Ranked higher
            tmall Tarun Mall (Inactive) made changes -
            Status Open [ 1 ] Pull Request Submitted [ 10101 ]
            tmall Tarun Mall (Inactive) made changes -
            Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
            mason Mason Meyer (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            mason Mason Meyer (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Needs Testing [ 10002 ]
            mason Mason Meyer (Inactive) made changes -
            Assignee Tarun Mall [ tmall ] Mason Meyer [ mason ]
            Hide
            mason Mason Meyer (Inactive) added a comment -

            Testing for this story included verifying that the SVG file could be exported under all circumstances, such as when using the Whole Frame option and when on the IGB Home screen. I also verified that the exporting the SVG file under these conditions would actually produce an SVG file in the desired save location. I also checked the order of the menu options as described above to make sure they were appearing as expected.

            Since this issue is resolved it will now be closed.

            Show
            mason Mason Meyer (Inactive) added a comment - Testing for this story included verifying that the SVG file could be exported under all circumstances, such as when using the Whole Frame option and when on the IGB Home screen. I also verified that the exporting the SVG file under these conditions would actually produce an SVG file in the desired save location. I also checked the order of the menu options as described above to make sure they were appearing as expected. Since this issue is resolved it will now be closed.
            mason Mason Meyer (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Needs Testing [ 10002 ] Closed [ 6 ]
            mason Mason Meyer (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Closed [ 6 ] Open [ 1 ]
            Hide
            mason Mason Meyer (Inactive) added a comment -

            This issue still needs to be tested on the minor release candidate for 8.4.3.

            Show
            mason Mason Meyer (Inactive) added a comment - This issue still needs to be tested on the minor release candidate for 8.4.3.
            mason Mason Meyer (Inactive) made changes -
            Sprint Sprint 25 [ 32 ] Sprint 25, Sprint 26 [ 32, 34 ]
            mason Mason Meyer (Inactive) made changes -
            Status Open [ 1 ] Needs Testing [ 10002 ]
            mason Mason Meyer (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            Hide
            dcnorris David Norris (Inactive) added a comment -

            merged to 8.4.3

            Show
            dcnorris David Norris (Inactive) added a comment - merged to 8.4.3
            jeckstein John Eckstein (Inactive) made changes -
            Labels Image_Export
            Hide
            mason Mason Meyer (Inactive) added a comment -

            When testing this issue I am noticing that there is an exception on 8.4.3 and 8.5.0 (not happening on 8.4.2) on Windows only when exporting an SVG file using the Whole Frame option:

            Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at com.jidesoft.swing.FastGradientPainter.createGradientTile(Unknown Source)
            at com.jidesoft.swing.FastGradientPainter.drawGradient(Unknown Source)
            at com.jidesoft.swing.JideSwingUtilities.fillGradient(Unknown Source)
            at com.jidesoft.plaf.office2007.Office2007Painter.fillBackground(Unknown Source)
            at com.jidesoft.status.MemoryStatusBarItem$e_.paintComponent(Unknown Source)
            at javax.swing.JComponent.printComponent(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at javax.swing.JComponent.print(Unknown Source)
            at javax.swing.JComponent.paintChildren(Unknown Source)
            at javax.swing.JComponent.printChildren(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at javax.swing.JComponent.print(Unknown Source)
            at javax.swing.JComponent.paintChildren(Unknown Source)
            at javax.swing.JComponent.printChildren(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at javax.swing.JComponent.print(Unknown Source)
            at javax.swing.JComponent.paintChildren(Unknown Source)
            at javax.swing.JComponent.printChildren(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at javax.swing.JComponent.print(Unknown Source)
            at javax.swing.JComponent.paintChildren(Unknown Source)
            at javax.swing.JComponent.printChildren(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at javax.swing.JComponent.print(Unknown Source)
            at javax.swing.JComponent.paintChildren(Unknown Source)
            at javax.swing.JComponent.printChildren(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at javax.swing.JLayeredPane.paint(Unknown Source)
            at javax.swing.JComponent.print(Unknown Source)
            at javax.swing.JComponent.paintChildren(Unknown Source)
            at javax.swing.JComponent.printChildren(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at javax.swing.JComponent.print(Unknown Source)
            at java.awt.GraphicsCallback$PrintCallback.run(Unknown Source)
            at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
            at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
            at java.awt.Container.print(Unknown Source)
            at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:253)
            at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:282)
            at com.lorainelab.image.exporter.HeadLessExport.headlessComponentExport(HeadLessExport.java:72)
            at com.lorainelab.image.exporter.ExportDialog.completeSaveButtonAction(ExportDialog.java:461)
            at com.lorainelab.image.exporter.ExportDialog.lambda$showFileDialog$13(ExportDialog.java:357)
            at com.lorainelab.image.exporter.ExportDialog$$Lambda$312/1041784469.accept(Unknown Source)
            at java.util.Optional.ifPresent(Unknown Source)
            at com.lorainelab.image.exporter.ExportDialog.showFileDialog(ExportDialog.java:349)
            at com.lorainelab.image.exporter.ExportDialog.saveAsButtonActionPerformed(ExportDialog.java:326)
            at com.lorainelab.image.exporter.ExportDialogGui.lambda$addMainPanel$1(ExportDialogGui.java:72)
            at com.lorainelab.image.exporter.ExportDialogGui$$Lambda$158/221361806.actionPerformed(Unknown Source)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
            at java.awt.EventQueue.access$500(Unknown Source)
            at java.awt.EventQueue$3.run(Unknown Source)
            at java.awt.EventQueue$3.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
            at java.awt.EventQueue$4.run(Unknown Source)
            at java.awt.EventQueue$4.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)

            Show
            mason Mason Meyer (Inactive) added a comment - When testing this issue I am noticing that there is an exception on 8.4.3 and 8.5.0 (not happening on 8.4.2) on Windows only when exporting an SVG file using the Whole Frame option: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.jidesoft.swing.FastGradientPainter.createGradientTile(Unknown Source) at com.jidesoft.swing.FastGradientPainter.drawGradient(Unknown Source) at com.jidesoft.swing.JideSwingUtilities.fillGradient(Unknown Source) at com.jidesoft.plaf.office2007.Office2007Painter.fillBackground(Unknown Source) at com.jidesoft.status.MemoryStatusBarItem$e_.paintComponent(Unknown Source) at javax.swing.JComponent.printComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.print(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.printChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.print(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.printChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.print(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.printChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.print(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.printChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.print(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.printChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JLayeredPane.paint(Unknown Source) at javax.swing.JComponent.print(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.printChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.print(Unknown Source) at java.awt.GraphicsCallback$PrintCallback.run(Unknown Source) at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) at java.awt.Container.print(Unknown Source) at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:253) at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:282) at com.lorainelab.image.exporter.HeadLessExport.headlessComponentExport(HeadLessExport.java:72) at com.lorainelab.image.exporter.ExportDialog.completeSaveButtonAction(ExportDialog.java:461) at com.lorainelab.image.exporter.ExportDialog.lambda$showFileDialog$13(ExportDialog.java:357) at com.lorainelab.image.exporter.ExportDialog$$Lambda$312/1041784469.accept(Unknown Source) at java.util.Optional.ifPresent(Unknown Source) at com.lorainelab.image.exporter.ExportDialog.showFileDialog(ExportDialog.java:349) at com.lorainelab.image.exporter.ExportDialog.saveAsButtonActionPerformed(ExportDialog.java:326) at com.lorainelab.image.exporter.ExportDialogGui.lambda$addMainPanel$1(ExportDialogGui.java:72) at com.lorainelab.image.exporter.ExportDialogGui$$Lambda$158/221361806.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
            Hide
            mason Mason Meyer (Inactive) added a comment - - edited

            The comment above was recorded in a new JIRA story IGBF-918.

            Testing for this issue on 8.4.3 included verifying that the SVG file could be exported under all circumstances, such as when using the Whole Frame option and when on the IGB Home screen. I also verified that the exporting the SVG file under these conditions would actually produce an SVG file in the desired save location. I also checked the order of the menu options as described above to make sure they were appearing as expected.

            Since this issue is resolved it will now be closed.

            Show
            mason Mason Meyer (Inactive) added a comment - - edited The comment above was recorded in a new JIRA story IGBF-918 . Testing for this issue on 8.4.3 included verifying that the SVG file could be exported under all circumstances, such as when using the Whole Frame option and when on the IGB Home screen. I also verified that the exporting the SVG file under these conditions would actually produce an SVG file in the desired save location. I also checked the order of the menu options as described above to make sure they were appearing as expected. Since this issue is resolved it will now be closed.
            mason Mason Meyer (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 16082 ] Fall 2019 Workflow Update [ 19567 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19567 ] Revised Fall 2019 Workflow Update [ 21686 ]
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-2143 [ IGBF-2143 ]

              People

              • Assignee:
                mason Mason Meyer (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: