Windows10 - assertj opens frame under menu bar
It looks like because of method
@RunsInCurrentThread
private void packAndEnsureSafePosition(@Nonnull Window w) {
w.pack();
w.setLocation(100, 100);
}
my test does not work in windows 10 with left positioned menu bare.
In my case Robot opens InternetExplorer instead of clicking in application

Thanks for reporting this! Sorry for having to wait this long.. Is there any way to determine bounds of the menu bar in Windows 10?
Does SunGraphicsEnvironment.getUsableBounds(config.getDevice()); return something useful?
Hi.
I haven't checked it. I modified my test by moving window to the centre of the screen.
window = new FrameFixture(frame);
window.show().moveTo(calculateCenterPoint(frame));
Hi @pkk82,
okay but I guess it would be nice to fix this. If you could provide the output of the above command, I can add it to AssertJ Swing.
But you can also close this issue if you think it's not important anymore :)
Thannks