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 |
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 |
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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: [ ]
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
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |