-
Bug
-
Resolution: Fixed
-
P4
-
7u6
-
JavaFX 2.2, Java 7-update 6, Windows 7
When I copy a rectangular selection from an image (using Windows 7 "Paint" program), Clipboard.hasImage() returns true but the immediately following call to Clipboard.getImage() returns null.
On the other hand, if I copy from the Windows 7 "snipping tool", hasImage() returns true and getImage() returns the image as it should.
I speculate that the Paint program is putting the image into the clipboard in a format that JavaFX doesn't support. However, if that's the case, hasImage() should return false instead of true.
On the other hand, if I copy from the Windows 7 "snipping tool", hasImage() returns true and getImage() returns the image as it should.
I speculate that the Paint program is putting the image into the clipboard in a format that JavaFX doesn't support. However, if that's the case, hasImage() should return false instead of true.