[Pharo-users] Morph relative positions

2013-09-20 Thread Norbert Hartl
Next try. I may do something stupid but it appears that all morphs draw on the same coordinate system. Meaning that every Morph that will draw something at 0@0 will put it in the top left corner of the image displayed. I would expect that a morph that is positioned somewhere provides a canvas wh

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Igor Stasenko
On 20 September 2013 12:15, Norbert Hartl wrote: > Next try. I may do something stupid but it appears that all morphs draw on > the same coordinate system. Meaning that every Morph that will draw > something at 0@0 will put it in the top left corner of the image > displayed. I would expect that a

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Norbert Hartl
Am 20.09.2013 um 12:24 schrieb Igor Stasenko : > > > > On 20 September 2013 12:15, Norbert Hartl wrote: > Next try. I may do something stupid but it appears that all morphs draw on > the same coordinate system. Meaning that every Morph that will draw something > at 0@0 will put it in the to

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Norbert Hartl
Am 20.09.2013 um 12:24 schrieb Igor Stasenko : > > > > On 20 September 2013 12:15, Norbert Hartl wrote: > Next try. I may do something stupid but it appears that all morphs draw on > the same coordinate system. Meaning that every Morph that will draw something > at 0@0 will put it in the to

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Markus Schlager
I'd not expect though, that it should be necessary to add offsets by hand. What is the advantage of having embedded objects use global coordinates? Markus

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Markus Schlager
On Fri, 20 Sep 2013, Norbert Hartl wrote: Next try. I may do something stupid but it appears that all morphs draw on the same coordinate system. Meaning that every Morph that will draw something at 0@0 will put it in the top left corner of the image displayed. I would expect that a morph that

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Igor Stasenko
On 20 September 2013 17:37, Markus Schlager wrote: > I'd not expect though, that it should be necessary to add offsets by hand. > What is the advantage of having embedded objects use global coordinates? > > Markus > > i don't know.. i think people who could answer this question is not on this lis

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Stéphane Ducasse
On Sep 20, 2013, at 5:37 PM, Markus Schlager wrote: > I'd not expect though, that it should be necessary to add offsets by hand. > What is the advantage of having embedded objects use global coordinates? conceptually this is a bug. > > Markus >

Re: [Pharo-users] Morph relative positions

2013-09-20 Thread Igor Stasenko
On 20 September 2013 19:22, Igor Stasenko wrote: > > On 20 September 2013 17:37, Markus Schlager wrote: > >> I'd not expect though, that it should be necessary to add offsets by >> hand. What is the advantage of having embedded objects use global >> coordinates? >> >> Markus >> >> > i don't know

[Pharo-users] [Voyage] Saving *ToMany references and dirty flag

2013-09-20 Thread Esteban A. Maringolo
How do you deal with the saving (and thus deleting/update) of dependant collections of a root (#isVoyageRoot) object? Could it be done as a two pass save? It is... to save first the object (like basicSave:id: now) and then walk through all its VOMongoToManyDescription's to save them (#basicSaveDep