Details
-
Type: Improvement
-
Status: Closed
-
Priority: Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.11.2.6, 2.11.2.7
-
Fix Version/s: 2.11.3.0
-
Component/s: Dev and Dep, gradle
-
Labels:None
Description
When gradle runs tests on macOS, it is continuously launching new JVMs during the tests. These java invocations create a new Java icon on the Dock, and when they launch they grab window/mouse focus, making it difficult to focus on another task.
Setting system property
apple.awt.UIElement=true
at JVM launch prevents the icon from appearing, and if the focus is elsewhere it doesn't continuously get shifted.
This is similar to java.awt.headless=true but that property also does other things in Jalview.
Setting system property
apple.awt.UIElement=true
at JVM launch prevents the icon from appearing, and if the focus is elsewhere it doesn't continuously get shifted.
This is similar to java.awt.headless=true but that property also does other things in Jalview.