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?
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> On Jun 3, 2015, at 6:45 AM, Natalia Tymchuk
natalia.tymchuk@unikernel.net wrote:
>
> Hi, Doru.
>
> Here is link
>
https://drive.google.com/file/d/0B6DrGQGcJTBSZVhJZi0zX2F5bGs/view?usp=sharin... https://drive.google.com/file/d/0B6DrGQGcJTBSZVhJZi0zX2F5bGs/view?usp=sharing
> 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 <tudor@tudorgirba.com
mailto:tudor@tudorgirba.com> wrote:
>>
>> Hi Natalia,
>>
>> Could you point us to the concrete code?
>>
>> Cheers,
>> Doru
>>
>>
>> On Wed, Jun 3, 2015 at 8:55 AM, Natalia Tymchuk <natalia.tymchuk@unikernel.net
mailto:natalia.tymchuk@unikernel.net> 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 <alexandre.bergel@me.com
mailto:alexandre.bergel@me.com> 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 http://www.bergel.eu/
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>> On May 30, 2015, at 10:48 AM, Natalia Tymchuk <natalia.tymchuk@unikernel.net
mailto:natalia.tymchuk@unikernel.net> 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
>>>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>>
>>
>> --
>> www.tudorgirba.com
http://www.tudorgirba.com/
>>
>> "Every thing has its own flow"
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev