<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Tony --<div><br></div><div>I added some checks via Graphics-mt.517. Let me know if this solves your problem.</div><div><br></div><div>In general, there is little explicit support for a "headless mode" in Morphic. While this is usually fine, failing primitives could make things more challenging. Especially since ui-scale changes might try to also resize the host-window now, which you observed via:</div><div><br></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Preferences setDemoFonts.</span><br></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">... which is just a deprecated interface for ...</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Display uiScaleFactor: 1.5.</span></div><div><br></div><div>Not sure what you mean by "<span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">host </span><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">window size jumps around all over the place". The only thing that might happen is that the primitive is called twice if the first call did not quite yield the expected size due to host-window decorations. In that case, the delta is added and tried again. But no more re-try after that.</span></div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 31.05.2022 16:00:26 schrieb Marcel Taeumel <marcel.taeumel@hpi.de>:</p><div style="font-family:Arial,Helvetica,sans-serif"><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Tony --<div><br></div><div>> <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Should hostWindowExtent: perhaps catch and ignore</span></div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">> primitiveWindow:width:height: failures?</span><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">It should! Thanks for the catch. I will fix that in the image.</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Best,</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Marcel</span></div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 31.05.2022 11:46:49 schrieb Tony Garnock-Jones <tonyg@leastfixedpoint.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">This is still a problem. It must be either a recent image change or the <br>new VM that's causing the issue.<br><br>I wonder if it could be the new call to <br>UserInterfaceTheme>>scaleMorphicWorldBy: at fault. Certainly the host <br>window size jumps around all over the place in a way it never used to... <br>and fixFontsAndScaleAround: changed in March to call <br>scaleMorphicWorldBy: - it didn't used to before.<br><br>Should hostWindowExtent: perhaps catch and ignore <br>primitiveWindow:width:height: failures?<br><br>Here's the traceback:<br><br>vvvvvvvvvvvvvvvvvv Error: primitiveWindow:width:height: failed <br>vvvvvvvvvvvvvvvvvv<br>The time is 2022-05-31T11:29:47.71844+02:00<br>DisplayScreen class(Object)>>error:<br>DisplayScreen class(Object)>>primitiveFailed:<br>DisplayScreen class(Object)>>primitiveFailed<br>DisplayScreen class>>primitiveWindow:width:height:<br>DisplayScreen class>>hostWindowExtent:<br>DisplayScreen class>>setNewScreenSize:<br>UserInterfaceTheme>>scaleMorphicWorldBy:<br>UserInterfaceTheme>>fixFontsAndScaleAround:<br>UserInterfaceTheme>>apply<br>UserInterfaceTheme>>doScale150<br>UserInterfaceTheme>>setScaleFactor:<br>[] in UserInterfaceTheme>>setScaleFactorPreApply:<br>FullBlockClosure(BlockClosure)>>on:do:<br>UserInterfaceTheme>>setScaleFactorPreApply:<br>CommunityTheme(UserInterfaceTheme)>>copyWithScaleFactor:<br>CommunityTheme(UserInterfaceTheme)>>setScaleFactor:<br>CommunityTheme(UserInterfaceTheme)>>applyScaled:<br>DisplayScreen>>uiScaleFactor:<br>Preferences class>>setDemoFonts<br>[] in [] in UndefinedObject>>DoIt<br>FullBlockClosure(BlockClosure)>>on:do:<br>FullBlockClosure(BlockClosure)>>valueSupplyingAnswers:<br>FullBlockClosure(BlockClosure)>>valueSupplyingAnswer:<br>[] in UndefinedObject>>DoIt<br>[] in [] in UndefinedObject>>DoIt<br>FullBlockClosure(BlockClosure)>>on:do:<br>[] in UndefinedObject>>DoIt<br>[] in FullBlockClosure(BlockClosure)>>newProcess<br><br>^^^^^^^^^^^^^^^^^^ Error: primitiveWindow:width:height: failed <br>^^^^^^^^^^^^^^^^^^<br><br><br>On 5/25/22 17:09, Tony Garnock-Jones wrote:<br>> And I see the same error with<br>> <br>> squeak -headless -- -evaluate '[Preferences setDemoFonts] <br>> valueSupplyingAnswer: true'<br>> <br>> Cheers,<br>>    Tony<br>> <br>> <br>> On 5/25/22 17:09, Tony Garnock-Jones wrote:<br>>> Hello all,<br>>><br>>> With the latest 6.0 beta image and a from-git `Cog` branch VM freshly <br>>> compiled on Debian x86_64, I see the following:<br>>><br>>> squeak -- -evaluate '[Preferences setDemoFonts] valueSupplyingAnswer: <br>>> true'<br>>><br>>> --> correctly evaluates, answers `Preferences`<br>>><br>>> squeak -vm-display-null -- -evaluate '[Preferences setDemoFonts] <br>>> valueSupplyingAnswer: true'<br>>><br>>> --> fails, with `Error: primitiveWindow:width:height: failed`<br>>><br>>> This didn't used to happen! Has something changed wrt vm-display-null?<br>>><br>>> Cheers,<br>>>    Tony<br>>><br>> <br><br></div></blockquote>
                                        </div></div></blockquote></div>