<AWT Dev> RFR: 8212226 SurfaceManager throws "Invalid Image variant" for MultiResolutionImage (Windows)
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed May 27 18:36:15 UTC 2020
Hi, Alexander.
On 5/27/20 8:53 am, Alexander Zuev wrote:
> There is no regression test since even for the manual regression test the setup would be quite difficult - you will have to have not just the multi-monitor configuration, but the configuration where on different displays you have different magnification factor. I tried to simulate different magnification factor by changing sun.java2d.uiScale parameter but that does not trigger the problem, image gets repainted correctly and no exception happens.
I remember that at some point it was attempted to implement that initially we draw the default image resolution(if the correct resolution variant is not ready yet.) Not sure that it actually works this way. If the current approach(when we try to draw the MRI itself) does not work, should not we try to use default resolution variant directly if the proper variant is not ready yet?
--
Best regards, Sergey.
More information about the awt-dev
mailing list