This commit is contained in:
chris
2026-11-22 17:22:19 +00:00
parent 60d35e2326
commit 3ca5d23504
252 changed files with 2293 additions and 1071 deletions

View File

@@ -49,13 +49,10 @@ public final class WindowGeometrySmoke {
JDialog dialog = new JDialog();
dialog.setSize(240, 160);
dialog.setVisible(true);
dialog.setLocation(1300, 950);
automatic[0] = dialog;
});
try {
// Some window managers asynchronously reset the initial position
// after setVisible(true). Allow native realization to settle first.
Thread.sleep(300);
SwingUtilities.invokeAndWait(() -> automatic[0].setLocation(1300, 950));
verify(WorkplaceResizeBridge.isOutside(automatic[0].getBounds(), viewport), "automatic test starts offscreen");
verify(WorkplaceResizeBridge.startRuntimeMonitor(960, 640, "rescue") == 1, "autonomous rescue monitor starts");
boolean rescued = false;