[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] `primitiveScreenScaleFactor` broken on headless Linux/X11 VMs (Issue #625)

Christoph Thiede notifications at github.com
Tue Apr 26 20:58:56 UTC 2022

Thanks for the information @marceltaeumel! Please find my current fix in #626. I might be underestimating the complexity of this issue but I could not find any other place that needs to be changed.

Regarding cursors, primitive 101 seems to always have worked for me:

./squeak --headless SqueakTrunk.image --evaluate 'Cursor normal show'

This also works for `--nodisplay`.

Am I missing any other scenario or was that all? :-)


> I have another strange effect here. When I remove `scaleIconToDisplay` from `currentCursor:`, the platform starts reporting a scale factor of "1.25" instead of "1.0" ... is this releated? What's the platform-scale-factor in your setup?

I'm not aware of this implementation, you might now better. :-) But I don't think that the scaling factor matters if no display is shown. My scaling factor was `1.0`.

PS: Right now, I am unable to test any scaling factor different from `1.0` in my Linux environment because VcXsrv always crashes when calling `primitiveHostWindowSizeSet`. But this could also be a bug in that X server ...

Reply to this email directly or view it on GitHub:
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/625/1110242318 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220426/89c4d676/attachment.html>

More information about the Vm-dev mailing list