TRMultiCompositeShape>>announcer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

TRMultiCompositeShape>>announcer

Tudor Girba-2
Hi,

I think we have a problem with announcer from TRMultiCompositeShape. It is implemented as if it should not be called, but 

TRCanvas>>shapeWithAction: eventClass forPositionInPixels: position

calls it.

So, we have a problem.

I observed the problem when creating edges with RTMondrianViewBuilder. For example:
view := RTMondrianViewBuilder new.
view shape label text: #asString.
view nodes: (1 to: 100).
view shape orthoHorizontalLine color: Color veryLightGray.
view edgesFrom: [:x | x // 10].
view horizontalTreeLayout layered.
view

And then click on an edge.

Doru

--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: TRMultiCompositeShape>>announcer

abergel
Yes!i started to work on this. 

Alexandre



Le 01-11-2014 à 19:03, Tudor Girba <[hidden email]> a écrit :

Hi,

I think we have a problem with announcer from TRMultiCompositeShape. It is implemented as if it should not be called, but 

TRCanvas>>shapeWithAction: eventClass forPositionInPixels: position

calls it.

So, we have a problem.

I observed the problem when creating edges with RTMondrianViewBuilder. For example:
view := RTMondrianViewBuilder new.
view shape label text: #asString.
view nodes: (1 to: 100).
view shape orthoHorizontalLine color: Color veryLightGray.
view edgesFrom: [:x | x // 10].
view horizontalTreeLayout layered.
view

And then click on an edge.

Doru

--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: TRMultiCompositeShape>>announcer

abergel
In reply to this post by Tudor Girba-2
Hi Doru,

Indeed, TRMultiCompositeShape>>announcer should not be called. In your case, a multiCompositeShape was added in the Canvas, which should not happen. I fixed this, there was a bug when pushing back shapes.

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Nov 1, 2014, at 7:03 PM, Tudor Girba <[hidden email]> wrote:

Hi,

I think we have a problem with announcer from TRMultiCompositeShape. It is implemented as if it should not be called, but 

TRCanvas>>shapeWithAction: eventClass forPositionInPixels: position

calls it.

So, we have a problem.

I observed the problem when creating edges with RTMondrianViewBuilder. For example:
view := RTMondrianViewBuilder new.
view shape label text: #asString.
view nodes: (1 to: 100).
view shape orthoHorizontalLine color: Color veryLightGray.
view edgesFrom: [:x | x // 10].
view horizontalTreeLayout layered.
view

And then click on an edge.

Doru

--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: TRMultiCompositeShape>>announcer

Tudor Girba-2
Thanks!

Doru

On Mon, Nov 3, 2014 at 2:00 PM, Alexandre Bergel <[hidden email]> wrote:
Hi Doru,

Indeed, TRMultiCompositeShape>>announcer should not be called. In your case, a multiCompositeShape was added in the Canvas, which should not happen. I fixed this, there was a bug when pushing back shapes.

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Nov 1, 2014, at 7:03 PM, Tudor Girba <[hidden email]> wrote:

Hi,

I think we have a problem with announcer from TRMultiCompositeShape. It is implemented as if it should not be called, but 

TRCanvas>>shapeWithAction: eventClass forPositionInPixels: position

calls it.

So, we have a problem.

I observed the problem when creating edges with RTMondrianViewBuilder. For example:
view := RTMondrianViewBuilder new.
view shape label text: #asString.
view nodes: (1 to: 100).
view shape orthoHorizontalLine color: Color veryLightGray.
view edgesFrom: [:x | x // 10].
view horizontalTreeLayout layered.
view

And then click on an edge.

Doru

--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev