[Cuis] Status of Morphic?

Juan Vuletich juan at jvuletich.org
Tue Mar 10 08:37:26 CDT 2015


Hi Phil,

(inline)
On 3/9/2015 6:54 AM, Phil (list) wrote:
> I've been testing some of my code after migrating to the local
> coordinate system and am running into a few things:
>
> 1) Morph stepping appears to be non-functional (at least in terms of
> running the code as-is from Cuis 4.0)

You already found #stepAt: . In any case, the "message names" tool is 
your friend.

> 2) Halos are behaving badly on occasion... drawing artifacts, problems
> resizing, experiencing the odd image crash here and there.

Please, steps to reproduce.

> 3) Specifically related to OpenGL support code, it wants to get the
> global coordinates of the morph before the morph is actually displayed
> to set up the OpenGL view.  However, morphBoundsInWorld returns nil if
> the morph has not been opened... is this still possible via a different
> method perhaps?

Well, until the morph is inside some owner, its coordinates are 
meaningless. This is different from Squeak, I know. And it might require 
a bit more of thought. I had to fix many places where coordinates were 
set before adding the morph to some owner...

If you can send me an image with preloaded code, or rather specific 
instructions to build one, I'd like to think about this together with 
you. It is quite likely that we tweak something or add some helpers to 
Cuis base.

> Overall, I'm pleasantly surprised that things are working as well as
> they are given the minimal amount of rework I've had to do so far given
> how significant the changes under the hood are.  I just wanted to see if
> any of these items are already known issues / are already being worked
> on or if I should start digging in to either try to help fix and/or
> report bugs via github?
>
> Thanks,
> Phil

Bug reports are most welcome. But (as in 3) if the problem is that you 
don't find the "obvious" way to do something, then working together on 
the code will most likely give all us better results.

Cheers,
Juan Vletich




More information about the Cuis mailing list