Details
Description
Solid drags in flatlaf result in more redraws, it seems, and concurrency issues.
Load the example file, show the overview window, and then click-drag resize the overview quickly. I saw exceptions like the following (Java 11, OSX 12.6.3) - these weren't occuring on java 8 2.11.2.6.
Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: (x + width) is outside raster
at java.desktop/sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:463)
at java.desktop/java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1202)
at jalview.gui.OverviewCanvas.paintComponent(OverviewCanvas.java:226)
at java.desktop/javax.swing.JComponent.paint(JComponent.java:1074)
Should be a simple fix ?
Load the example file, show the overview window, and then click-drag resize the overview quickly. I saw exceptions like the following (Java 11, OSX 12.6.3) - these weren't occuring on java 8 2.11.2.6.
Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: (x + width) is outside raster
at java.desktop/sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:463)
at java.desktop/java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1202)
at jalview.gui.OverviewCanvas.paintComponent(OverviewCanvas.java:226)
at java.desktop/javax.swing.JComponent.paint(JComponent.java:1074)
Should be a simple fix ?