<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>I agree that this a nice feature, especially for headless tests as you also mentioned.</div>
<div>Really looking forward to this feature.</div>
<div> </div>
<div>- Marius</div>
<div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 30. Januar 2024 um 12:46 Uhr<br/>
<b>Von:</b> "Johan Vos" <johan.vos@gluonhq.com><br/>
<b>An:</b> "openjfx-dev" <openjfx-dev@openjdk.org><br/>
<b>Betreff:</b> Headless glass platform</div>
<div name="quoted-content">
<div>
<div>Hi,</div>
<div> </div>
<div>I created a branch in the jfx-sandbox repository for experimenting with a headless glass platform: <a href="https://github.com/openjdk/jfx-sandbox/tree/johanvos-headless" target="_blank">https://github.com/openjdk/jfx-sandbox/tree/johanvos-headless</a></div>
<div> </div>
<div>This addresses <a href="https://bugs.openjdk.org/browse/JDK-8324941" target="_blank">https://bugs.openjdk.org/browse/JDK-8324941</a> where I suggest a POC for a Headless platform.</div>
<div> </div>
<div>There are a number of usecases for this, including:<br/>
1. applications that require JavaFX rendering without presenting this to a window (and instead send it to a printer for example)</div>
<div>2. running tests without requiring a window manager.</div>
<div> </div>
<div>Regarding the second usecase, we already did some basic experiments using a modified version of TestFX where instead of the Monocle Headless subplatform, the POC Headless platform is used.</div>
<div> </div>
<div>By using a first-class Headless glass platform instead of a Monocle subplatform, it should be easier to use by developers.</div>
<div>The monocle code contains very platform/os specific parts, which often don't make sense outside the target platform. This is very valuable, but it is also a very different usecase than a headless platform and it requires a much more complex build procedure.</div>
<div> </div>
<div>I added an initial, limited HeadlessRobot to do some basic tests. That code is mainly taken from the existing Monocle implementation, but I want to be careful to avoid anything that is not applicable to the headless scenarios.</div>
<div> </div>
<div>- Johan</div>
<div> </div>
</div>
</div>
</div>
</div>
</div></div></body></html>