You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To smooth the display on opening hide the OS window before saving the deployment image:
self currentWorld worldState worldRenderer window hide.
OSWindowAttributes defaultVisible: false. "Otherwise opens shown - Note: you'll need to implement this method"
0.2 seconds wait. "Needs time to set before saving image."
Smalltalk snapshot: true andQuit: true
For some reason the regular mechanism for invalidating the window doesn't always work for a SpWorldPresenter. In particular, window refresh doesn't occur when resizing, until the mouse re enters the window. To replicate, drag the window to the right, being careful not to enter the window with the mouse. Once the mouse enters the window it refreshes to reflect the new size.
Furthermore none of these seem to work:
In Pharo 10 I can't find the method to open a morph/presenter in full screen mode to ensure the user cannot access content behind it:
MyPresenter new openWorldWithSpec.
The guide makes not references to versions later than 7.
In spite of this, it is a very good starting point - thanks!
Update:
In Pharo 10 and later you can use:
MyPresenter asWorldWindow open.
Other points:
Furthermore none of these seem to work:
A workaround is to append the following to the end of checkForNewScreenSize:
[self currentWorld simulateMiddleClick] fork
Happy runtime!
The text was updated successfully, but these errors were encountered: