Hi Doru,Natalia has a problem with a double refresh. It would be great to have this fixedCheers,AlexandreBegin forwarded message:From: Alexandre Bergel <alexandre.bergel@me.com>Subject: [Moose-dev] Re: Roassal 2D presentation rendered 2 timesDate: June 3, 2015 at 1:58:35 PM GMT-3To: Moose-related development <moose-dev@iam.unibe.ch>Reply-To: Moose-related development <moose-dev@iam.unibe.ch>Hi Natalia,_______________________________________________I had a brief look at it. It seems that the methodFAMIXNamespace>>mooseRMozBlock2D: composite<moosePresentationOrder: 20>self halt.composite roassal2title: '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 <natalia.tymchuk@unikernel.net> wrote:Hi, Doru._______________________________________________Here is linkfrom 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,NataliaOn 03 Jun 2015, at 11:05, Tudor Girba <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> 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,NataliaOn 03 Jun 2015, at 00:49, Alexandre Bergel <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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On May 30, 2015, at 10:48 AM, Natalia Tymchuk <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
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
_______________________________________________
Moose-dev mailing list
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
Moose-dev mailing list
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--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.