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

            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."
            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.
            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.
            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
            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.

              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: