Roassal 2D presentation rendered 2 times

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

Roassal 2D presentation rendered 2 times

Natalia Tymchuk
Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

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

Re: Roassal 2D presentation rendered 2 times

abergel
Hi Natalia

I think I know what the problem is. Do you call #build ? Normally you should not.

#build is called by GTinspector, so you should not do it yourself.

Does it help?

Alexandre



> Le 30 mai 2015 à 15:48, Natalia Tymchuk <[hidden email]> a écrit :
>
> Hello,
> I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
> When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
> Does anybody knows where is the problem?
>
> Best regards,
> Natalia
> _______________________________________________
> 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: Roassal 2D presentation rendered 2 times

abergel
In reply to this post by Natalia Tymchuk
Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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: Roassal 2D presentation rendered 2 times

Natalia Tymchuk
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


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

Re: Roassal 2D presentation rendered 2 times

Tudor Girba-2
Hi Natalia,

Could you point us to the concrete code?

Cheers,
Doru


On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <[hidden email]> wrote:
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Roassal 2D presentation rendered 2 times

Natalia Tymchuk
Hi, Doru.

Here is link 
from where you can download the image.
If you press on big box with 4 yellow boxes (which represent namespace), you would get twice halt in my code (this method is open), where I use GMLRoassal2Presentation.
You can drag elements, and see that they are doubled.

Best regards,
Natalia

On 03 Jun 2015, at 11:05, Tudor Girba <[hidden email]> wrote:

Hi Natalia,

Could you point us to the concrete code?

Cheers,
Doru


On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <[hidden email]> wrote:
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 <Screen Shot 2015-06-03 at 08.25.00.png>

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


_______________________________________________
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


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

Re: Roassal 2D presentation rendered 2 times

abergel
Hi Natalia,

I had a brief look at it. It seems that the method

FAMIXNamespace>>mooseRMozBlock2D: composite
<moosePresentationOrder: 20>
self halt.
composite roassal2
title: '2D';
painting: [ :view | 
| cityPlan visitor b "menub" menur withBorder withText |
b := RTMenuBuilder new view: view.
withBorder := false.

is execute twice. No idea why. Doru, it looks like to be related to Glamour. Can you have a look at it?

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



On Jun 3, 2015, at 6:45 AM, Natalia Tymchuk <[hidden email]> wrote:

Hi, Doru.

Here is link 
from where you can download the image.
If you press on big box with 4 yellow boxes (which represent namespace), you would get twice halt in my code (this method is open), where I use GMLRoassal2Presentation.
You can drag elements, and see that they are doubled.

Best regards,
Natalia

On 03 Jun 2015, at 11:05, Tudor Girba <[hidden email]> wrote:

Hi Natalia,

Could you point us to the concrete code?

Cheers,
Doru


On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <[hidden email]> wrote:
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 <Screen Shot 2015-06-03 at 08.25.00.png>

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


_______________________________________________
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

_______________________________________________
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: Roassal 2D presentation rendered 2 times

Natalia Tymchuk
Hello.

Do you have any news about this problem?
I notice one more interesting thing: In the same MoosePanel, for one window presentation was rendered once, and for another window - twice. Here is an example:
  
It is visualizations of the same package, but in first case there are no duplications.

Best regards,
Natalia


On 03 Jun 2015, at 18:58, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

I had a brief look at it. It seems that the method

FAMIXNamespace>>mooseRMozBlock2D: composite
<moosePresentationOrder: 20>
self halt.
composite roassal2
title: '2D';
painting: [ :view | 
| cityPlan visitor b "menub" menur withBorder withText |
b := RTMenuBuilder new view: view.
withBorder := false.

is execute twice. No idea why. Doru, it looks like to be related to Glamour. Can you have a look at it?

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



On Jun 3, 2015, at 6:45 AM, Natalia Tymchuk <[hidden email]> wrote:

Hi, Doru.

Here is link 
from where you can download the image.
If you press on big box with 4 yellow boxes (which represent namespace), you would get twice halt in my code (this method is open), where I use GMLRoassal2Presentation.
You can drag elements, and see that they are doubled.

Best regards,
Natalia

On 03 Jun 2015, at 11:05, Tudor Girba <[hidden email]> wrote:

Hi Natalia,

Could you point us to the concrete code?

Cheers,
Doru


On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <[hidden email]> wrote:
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 <Screen Shot 2015-06-03 at 08.25.00.png>

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


_______________________________________________
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

_______________________________________________
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


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

Fwd: Roassal 2D presentation rendered 2 times

abergel
In reply to this post by abergel
Hi Doru,

Natalia has a problem with a double refresh. It would be great to have this fixed

Cheers,
Alexandre


Begin forwarded message:

From: Alexandre Bergel <[hidden email]>
Subject: [Moose-dev] Re: Roassal 2D presentation rendered 2 times
Date: June 3, 2015 at 1:58:35 PM GMT-3
To: Moose-related development <[hidden email]>
Reply-To: Moose-related development <[hidden email]>

Hi Natalia,

I had a brief look at it. It seems that the method

FAMIXNamespace>>mooseRMozBlock2D: composite
<moosePresentationOrder: 20>
self halt.
composite roassal2
title: '2D';
painting: [ :view | 
| cityPlan visitor b "menub" menur withBorder withText |
b := RTMenuBuilder new view: view.
withBorder := false.

is execute twice. No idea why. Doru, it looks like to be related to Glamour. Can you have a look at it?

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



On Jun 3, 2015, at 6:45 AM, Natalia Tymchuk <[hidden email]> wrote:

Hi, Doru.

Here is link 
from where you can download the image.
If you press on big box with 4 yellow boxes (which represent namespace), you would get twice halt in my code (this method is open), where I use GMLRoassal2Presentation.
You can drag elements, and see that they are doubled.

Best regards,
Natalia

On 03 Jun 2015, at 11:05, Tudor Girba <[hidden email]> wrote:

Hi Natalia,

Could you point us to the concrete code?

Cheers,
Doru


On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <[hidden email]> wrote:
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 <Screen Shot 2015-06-03 at 08.25.00.png>

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


_______________________________________________
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

_______________________________________________
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

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




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

Re: Roassal 2D presentation rendered 2 times

Tudor Girba-2
Hi,

Could you provide the concrete code? This implies a way to load everything and then to reproduce the problem in a Moose 6.0 image.

Cheers,
Doru



On Tue, Jun 16, 2015 at 11:54 PM, Alexandre Bergel <[hidden email]> wrote:
Hi Doru,

Natalia has a problem with a double refresh. It would be great to have this fixed

Cheers,
Alexandre


Begin forwarded message:

From: Alexandre Bergel <[hidden email]>
Subject: [Moose-dev] Re: Roassal 2D presentation rendered 2 times
Date: June 3, 2015 at 1:58:35 PM GMT-3
To: Moose-related development <[hidden email]>
Reply-To: Moose-related development <[hidden email]>

Hi Natalia,

I had a brief look at it. It seems that the method

FAMIXNamespace>>mooseRMozBlock2D: composite
<moosePresentationOrder: 20>
self halt.
composite roassal2
title: '2D';
painting: [ :view | 
| cityPlan visitor b "menub" menur withBorder withText |
b := RTMenuBuilder new view: view.
withBorder := false.

is execute twice. No idea why. Doru, it looks like to be related to Glamour. Can you have a look at it?

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



On Jun 3, 2015, at 6:45 AM, Natalia Tymchuk <[hidden email]> wrote:

Hi, Doru.

Here is link 
from where you can download the image.
If you press on big box with 4 yellow boxes (which represent namespace), you would get twice halt in my code (this method is open), where I use GMLRoassal2Presentation.
You can drag elements, and see that they are doubled.

Best regards,
Natalia

On 03 Jun 2015, at 11:05, Tudor Girba <[hidden email]> wrote:

Hi Natalia,

Could you point us to the concrete code?

Cheers,
Doru


On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <[hidden email]> wrote:
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 <Screen Shot 2015-06-03 at 08.25.00.png>

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


_______________________________________________
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

_______________________________________________
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

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






--

"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: Roassal 2D presentation rendered 2 times

Natalia Tymchuk
Hello.
I’m sorry I cannot provide the concrete code.
I cannot say what to do to reproduce this mistake. I don’t know why it happens, it just randomly happens and persists the panel. I’m doing everything like always and sometimes it happens. That’s why I sent some time ago image with that mistake.
Actually, I’m not doing anything special, just using Roassal presentation. So, probably, you don’t even need my project for reproducing this mistake.   
Even if desired, for now it is impassible to load my project into image, because it depends on Woden and Woden cannot be loaded.

However, if the image I sent earlier would not help you, and you would want to try it with everything what I have in my image, tell me and I would copy my project but remove everything related to Woden.

Keep me updated.

Best regards,
Natalia


On 17 Jun 2015, at 07:49, Tudor Girba <[hidden email]> wrote:

Hi,

Could you provide the concrete code? This implies a way to load everything and then to reproduce the problem in a Moose 6.0 image.

Cheers,
Doru



On Tue, Jun 16, 2015 at 11:54 PM, Alexandre Bergel <[hidden email]> wrote:
Hi Doru,

Natalia has a problem with a double refresh. It would be great to have this fixed

Cheers,
Alexandre


Begin forwarded message:

From: Alexandre Bergel <[hidden email]>
Subject: [Moose-dev] Re: Roassal 2D presentation rendered 2 times
Date: June 3, 2015 at 1:58:35 PM GMT-3
To: Moose-related development <[hidden email]>
Reply-To: Moose-related development <[hidden email]>

Hi Natalia,

I had a brief look at it. It seems that the method

FAMIXNamespace>>mooseRMozBlock2D: composite
<moosePresentationOrder: 20>
self halt.
composite roassal2
title: '2D';
painting: [ :view | 
| cityPlan visitor b "menub" menur withBorder withText |
b := RTMenuBuilder new view: view.
withBorder := false.

is execute twice. No idea why. Doru, it looks like to be related to Glamour. Can you have a look at it?

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



On Jun 3, 2015, at 6:45 AM, Natalia Tymchuk <[hidden email]> wrote:

Hi, Doru.

Here is link 
from where you can download the image.
If you press on big box with 4 yellow boxes (which represent namespace), you would get twice halt in my code (this method is open), where I use GMLRoassal2Presentation.
You can drag elements, and see that they are doubled.

Best regards,
Natalia

On 03 Jun 2015, at 11:05, Tudor Girba <[hidden email]> wrote:

Hi Natalia,

Could you point us to the concrete code?

Cheers,
Doru


On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <[hidden email]> wrote:
Hi, Alex.
Yes, I have it. Unfortunately I cannot reproduce it. 
I’m using Moose Panel to visualize code. For example:
 <Screen Shot 2015-06-03 at 08.25.00.png>

I noticed the problems when I added RTMenuBuilder - it added one menu twice. Then when I added RTDraggable for my yellow cubes, I noticed that there are two cubes one on the top of other. Then I found that problem is with #painting: [  ]
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
So it creates a view, draws it and than ones more draws the same view, that’s why all view elements meets twice in the same view.
And after this problem appear in Moose Panel, it would be always renders view twice, even for other elements. However, if I would open other Moose Panel, everything would be fine in this new Panel.

Best regards,
Natalia



On 03 Jun 2015, at 00:49, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Do you still have this problem? 
What do you mean with "Roassal 2D presentation builds view twice in Moose Panel”? How do you use the Moose Panel?

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



On May 30, 2015, at 10:48 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
I noticed, that sometimes Roassal 2D presentation builds view twice in Moose Panel. When it happens, it builds every Roassal presentation renders view twice in that Moose panel, however if I would open another Moose panel this mistake doesn’t happen.
When I was debugging it, I saw that  #painting: [  ] renders new view, shows it in panel, and then evaluates #painting: [  ] with this view.
Does anybody knows where is the problem?

Best regards,
Natalia
_______________________________________________
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


_______________________________________________
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

_______________________________________________
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

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






--

"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