Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Labels:None
Description
Test print and print whole frame, save and load session, exit. Make sure for saves and prints to make complex sessions with many files and file types from local, password protected URL and folder tree.
Attachments
Issue Links
- relates to
-
BUG-624 File Menu items
-
- Closed
-
Activity
Windows v10124
Folder tree/Desktop files/Password protected URLs:
- Print...
- Page Setup
- Paper panel (Size and Source)
- Orientation (Portrait and Landscape)
- Margins (lt,rt,top,bot)
- Printer...
- Page Setup (Name, Properties, Network, OK, Cancel)
- Cancel
- OK
- Prints accurately
- Page Setup
- Print Whole Frame...
- Same as for 'Print..."
- Prints accurately
- Save session
- Load session
Passed Windows v11986
File > Prints/Save Session/Load Session/Exit
'Print Main View With Labels...':
- Page Setup Window:
- All buttons work fine in this window
- Print Window:
- All buttons work fine in this window
- PDF menu works
- Save as PDF brings up a new window to set file name and save directory and saves tracks
- DOES NOT save Labels of tracks or gene names except for coordinates
- PDF menu works
- All buttons work fine in this window
'Print Whole Frame...'
- Page Setup Window:
- All buttons work fine in this window
- Print Window:
- All buttons work fine in this window
- PDF menu works
- Save as PDF brings up a new window to set file name and save directory and saves tracks
- THROWS StackOverflowError when saving (java console error attached at bottom of comment)
- Saved PDF file only has image of the main toolbar and everything else is blank in the file
- PDF menu works
- All buttons work fine in this window
'Export Image...':
- PASSED V.13603, Mac, Java 1.06.0_37 but with a suggestion
- File Panel:
- Filepath text input box- When user type random letters or numbers and clicks 'OK' nothing happens but the Java console throws a NPE (copied to the bottom of this comment)
- -suggestion: User can export images one after another but image file name will not change unless specified. If no filename is chosen, .svg, .png, or .jpeg will be the filename. When saving images one after another, it asks if user wants to overwrite the last image with the same name. If this could be programmed to autofill the name to something generic such as Untitled, Untitled(1), Untitled(2), etc. it could be beneficial to users
- 'Browse…' button to select save directory, set filename, and choose file format works for all formats
- Drop down file format menu for svg, png, and jpeg works for all formats
- -svg only allows for Main View, Main View(with Labels)
- 'OK' and 'Cancel' buttons work for all formats
- Filepath text input box- When user type random letters or numbers and clicks 'OK' nothing happens but the Java console throws a NPE (copied to the bottom of this comment)
- Image Size Panel:
- Width/Height-Text input fields and increase/decrease buttons scale with each other, and input fields do not allow radical numbers such as 500000000000 or letters/symbols by reverting to last allowed number
- Drop down menu for inches/pixels converts width/height numbers
- Resolution drop down menu functions only for png and jpeg, grayed out for svg
- Refresh button works when adjusting width/height, inches/pixels, Resolution
- Preview Panel:
- 'Whole Frame' works for png and jpeg, not svg (as expected)
- 'Main View' and 'Main View (with Labels)' works for all file formats
- 'Sliced View (with Labels)' works for all file formats (when 'Sliced View' tab is selected)
'Save track as file…' (when a track is selected):
- PASSED V.13603, Mac, Java 1.06.0_37
- File name input field attaches .bed to name for the user after hitting save
'Delete Selected Track or Graph' (when track(s) selected):
- PASSED V.13603, Mac, Java 1.06.0_37
'Load Session…':
- PASSED V.13603, Mac, Java 1.06.0_37
- Loaded saved session of 7 tracks with bam, vcf, bed files flawlessly, including color info, and location in the genome at time of save
'Save Session...':
- PASSED V.13603, Mac, Java 1.06.0_37
- Saved session of 7 tracks with bam, vcd, bed files flawlessly as XML file
'Exit':
- PASSED V.13603, Mac, Java 1.06.0_37
- Shuts down the program without a hitch
Print Whole Frame StackOverflowError
java.lang.StackOverflowError
at sun.java2d.CRenderer.doImage(Native Method)
at sun.java2d.OSXSurfaceData.blitImage(OSXSurfaceData.java:1025)
at sun.java2d.CRenderer.blitImage(CRenderer.java:461)
at sun.java2d.CRenderer.copyImage(CRenderer.java:474)
at sun.java2d.CRenderer.copyImage(CRenderer.java:533)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3084)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3069)
at sun.print.ProxyGraphics2D.drawImage(ProxyGraphics2D.java:815)
at javax.swing.ImageIcon.paintIcon(ImageIcon.java:413)
at com.apple.laf.AquaButtonUI.paintIcon(AquaButtonUI.java:395)
at com.apple.laf.AquaButtonUI.paint(AquaButtonUI.java:304)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:778)
at javax.swing.JComponent.paint(JComponent.java:1054)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
at java.awt.Container.paint(Container.java:1967)
at java.awt.Window.paint(Window.java:3877)
at com.affymetrix.genoviz.util.ComponentPagePrinter.print(ComponentPagePrinter.java:120)
at sun.lwawt.macosx.CPrinterJob$4.run(CPrinterJob.java:583)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at sun.lwawt.macosx.EventDispatchAccess.pumpEventsAndWait(Native Method)
at sun.lwawt.macosx.CPrinterJob.print(CPrinterJob.java:240)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1277)
at com.affymetrix.genoviz.util.ComponentPagePrinter.print(ComponentPagePrinter.java:69)
at com.affymetrix.genoviz.util.ComponentPagePrinter.print(ComponentPagePrinter.java:39)
at com.affymetrix.genoviz.util.ComponentPagePrinter.print(ComponentPagePrinter.java:77)
at com.affymetrix.igb.action.PrintFrameAction.actionPerformed(PrintFrameAction.java:40)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:115)
at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
at java.awt.MenuItem.processEvent(MenuItem.java:628)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:726)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:696)
at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Export Image NPE
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.affymetrix.igb.util.ExportDialog.isValidExportFile(ExportDialog.java:545)
at com.affymetrix.igb.util.ExportDialog.okButtonActionPerformed(ExportDialog.java:495)
at com.affymetrix.igb.util.ExportDialogGUI.okButtonActionPerformed(ExportDialogGUI.java:334)
at com.affymetrix.igb.util.ExportDialogGUI.access$1000(ExportDialogGUI.java:13)
at com.affymetrix.igb.util.ExportDialogGUI$11.actionPerformed(ExportDialogGUI.java:250)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:696)
at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Suggestion is entered as DESIGN-133
v10024 on Mac
-same as print option but prints the whole IGB window.
BUG-266) with multiple kind of files loaded such as BAM files, WIG files, BED files