[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Newspeak VMs do not open the Newspeak UI on Windows (#151)

Nicolas Cellier notifications at github.com
Sat Apr 25 22:32:14 UTC 2020


The UI does not open, neither on 32bits nor 64bits VM, so this is probably not related to X64 ABI.
I put a break in ioShowDisplay with gdb and the VM is going there (via primitiveShowDisplayRect).
It is painting a region of a bitmap.
But since the window is not visible (hidden?) nothing seems to happen...

I'm not a specialist of windows UI, but there must be some obvious GUI call missing...
There should be a `ShowWindow(stWindow,SW_SHOW)` or something like that.

There is one in `ioForceDisplayUpdate()` but only `#if !NewspeakVM`.
It is suggested that Newspeak has to explicitely emit such request...
See https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/36270b33202975eee7adab9fa0905dd48421e1ef/platforms/win32/vm/sqWin32Window.c#L2263

I have checked the history of platforms/win32 around may/june 2016, not much happened there...
https://github.com/OpenSmalltalk/opensmalltalk-vm/commits/Cog?after=36270b33202975eee7adab9fa0905dd48421e1ef+244&path%5B%5D=platforms&path%5B%5D=win32&path%5B%5D=vm


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/151#issuecomment-619449252
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200425/60fc1cdd/attachment.html>


More information about the Vm-dev mailing list