On Nov 18, 2012, at 3:45 PM, Pavel Krivanek <[email protected]> wrote:

> On Sat, Nov 17, 2012 at 9:12 PM, Marcus Denker <[email protected]> wrote:
>> 20404
>> -----
>> 
>> Issue 6994:     move DisplayScreen >> #defaultCanvasClass to Morphic
>>        http://code.google.com/p/pharo/issues/detail?id=6994
> 
> This fix has very interesting consequence when loading Morphic.
> Because when the Morphic package is loaded, it firstly loads
> Form>>#defaultCanvasClass that calls "Display defaultCanvasClass". But
> Display is a Form too so before the DisplayScreen implementation
> (^FormCanvas) is loaded too, it can lead and leads to infinite
> recursion.
> 
I actually wonder if we need all the indirection (defaultCanvasClass and 
friends).

I looked at the senders, and it is not used everywhere... Canvas sometimes is 
rerenced
directly, sometimes not.

In addition, Canvas should not be in Morpic but there should be a Canvas 
package that
Morphic *uses* but that is completely independend of Morphic.

        Marcus



--
Marcus Denker -- http://marcusdenker.de


Reply via email to