bitwes/Gut

Input tests fail when window changes monitor

bitwes opened this issue · 1 comments

Versions

  • Godot: 4
  • GUT: 9.2
  • OS: MacOS Sonoma

The Bug

A couple asserts in different tests will fail if the Godot window (not the editor) is on a different monitor than it started on. This does not happen if you move the window back to the original monitor before the tests run. See test_i578.gd for more information.

This is probably a Godot issue, but should be documented as it took me forever to l

Steps To Reproduce

Run the following and move the window to a different monitor before the countdown finishes:

gdscript addons/gut/gut_cmdln.gd -gexit -gconfig= -gtest test/resources/wait_awhile.gd,test/unit/test_bugs/test_i578.gd

This has been documented.