02:51@greggirwin To continue the discussion on tests of the GUI here rather than an issue. It is possible to write GUI regression tests without a GUI Test Framework or any external tools. It is simply a matter of comparing an image of a layout against a stored image correctly produced by using the same layout. This will require images to be generated for each supported GUI/OS combination.
Here is an example of how GUI regression tests could be written:
>> "First save an image of the layout"
== "First save an image of the layout"
>> view/no-wait test-layout: layout [title "Simple Test" button "Do Nothing Verbosely"]
== make object! [
type: 'window
offset: 630x425
size: 179...
>> test-img: to image! test-layout
== make image! [358x100 #{
EBECEBEBECEBEBECEBEBECEBEBECEBEBECEBEBEC...
>> save/as %/Users/Peter/Desktop/SiimpleTest.png to image! test-img 'png
>> unview
== []
>>
>> "Then run a regression test to check against the stored image"
== {Then run a regression test to check against the stored image}
>> view/no-wait test-layout: layout [title "Simple Test" button "Do Nothing Verbosely"]
== make object! [
type: 'window
offset: 630x425
size: 179...
>> test-img: to image! test-layout
== make image! [358x100 #{
EBECEBEBECEBEBECEBEBECEBEBECEBEBECEBEBEC...
>> equal? to image! test-layout load/as %/Users/Peter/Desktop/SiimpleTest.png 'png
== true
>> unview
== []