Hi,
Alex, was trying a similar example in the easel, and what i found is that the problem of the "root interaction" is not in Mondrian but in Glamour. Tudor, could you please take a look at this? (the first inspect does not work) in the easel -> i can see the inspect of the root (first line). view root interaction action: #inspect. (1 to: 10) do: [:n | view shape rectangle borderColor:[ :each| Color blue ]. view interaction action: #inspect. view node: n forIt: [ view interaction action: #inspect. view node: (n * 2). view shape rectangle withoutBorder. view interaction action: #inspect. view node: n forIt: [ view shape rectangle borderColor:[ :each| Color green ]. view interaction action: #inspect. view node: (n * 3) ]. view verticalLineLayout. ] ] but if I draw this inside glamour can't | browser | browser := GLMTabulator withStatusbar. browser column: #one. browser showOn: #one; using: [ browser mondrian painting: [:view :number| view root interaction action: #inspect. (1 to: number) do: [:n | view shape rectangle borderColor:[ :each| Color blue ]. view interaction action: #inspect. view node: n forIt: [ view interaction action: #inspect. view node: (n * 2). view shape rectangle withoutBorder. view interaction action: #inspect. view node: n forIt: [ view shape rectangle borderColor:[ :each| Color green ]. view interaction action: #inspect. view node: (n * 3) ]. view verticalLineLayout. ] ] ] ]. browser openOn: 10 regards, Veronica _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Veronica,
Thanks for reporting. This is strange because Glamour just embeds the MOCanvas. Alex, are you doing something special when it comes to the root? Cheers, Doru On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote: > Hi, > > Alex, was trying a similar example in the easel, and what i found is > that the problem of the "root interaction" is not in Mondrian but in > Glamour. > Tudor, could you please take a look at this? (the first inspect > does not work) > > in the easel -> i can see the inspect of the root (first line). > > view root interaction action: #inspect. > (1 to: 10) do: [:n | > view shape rectangle > borderColor:[ :each| Color blue ]. > view interaction action: #inspect. > view node: n forIt: [ > view interaction action: #inspect. > view node: (n * 2). > view shape rectangle withoutBorder. > view interaction action: #inspect. > view node: n forIt: [ > view shape rectangle > borderColor:[ :each| Color green ]. > view interaction action: #inspect. > view node: (n * 3) ]. > view verticalLineLayout. > ] ] > > but if I draw this inside glamour can't > > | browser | > browser := GLMTabulator withStatusbar. > browser column: #one. > browser showOn: #one; using: [ > browser mondrian > painting: [:view :number| > > view root interaction action: #inspect. > (1 to: number) do: [:n | > view shape rectangle > borderColor:[ :each| Color blue ]. > view interaction action: #inspect. > view node: n forIt: [ > view interaction action: #inspect. > view node: (n * 2). > view shape rectangle withoutBorder. > view interaction action: #inspect. > view node: n forIt: [ > view shape rectangle > borderColor:[ :each| Color green ]. > view interaction action: #inspect. > view node: (n * 3) ]. > view verticalLineLayout. > ] ] > ] ]. > browser openOn: 10 > > regards, > Veronica > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "No matter how many recipes we know, we still value a chef." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I created http://code.google.com/p/moose-technology/issues/detail?id=424
This is really strange. The MORoot is receiving the right event. I am currently investigating Cheers, Alexandre On 19 Jul 2010, at 10:31, Tudor Girba wrote: > Hi Veronica, > > Thanks for reporting. > > This is strange because Glamour just embeds the MOCanvas. Alex, are you doing something special when it comes to the root? > > Cheers, > Doru > > > On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote: > >> Hi, >> >> Alex, was trying a similar example in the easel, and what i found is that the problem of the "root interaction" is not in Mondrian but in Glamour. >> Tudor, could you please take a look at this? (the first inspect does not work) >> >> in the easel -> i can see the inspect of the root (first line). >> >> view root interaction action: #inspect. >> (1 to: 10) do: [:n | >> view shape rectangle >> borderColor:[ :each| Color blue ]. >> view interaction action: #inspect. >> view node: n forIt: [ >> view interaction action: #inspect. >> view node: (n * 2). >> view shape rectangle withoutBorder. >> view interaction action: #inspect. >> view node: n forIt: [ >> view shape rectangle >> borderColor:[ :each| Color green ]. >> view interaction action: #inspect. >> view node: (n * 3) ]. >> view verticalLineLayout. >> ] ] >> >> but if I draw this inside glamour can't >> >> | browser | >> browser := GLMTabulator withStatusbar. >> browser column: #one. >> browser showOn: #one; using: [ >> browser mondrian >> painting: [:view :number| >> >> view root interaction action: #inspect. >> (1 to: number) do: [:n | >> view shape rectangle >> borderColor:[ :each| Color blue ]. >> view interaction action: #inspect. >> view node: n forIt: [ >> view interaction action: #inspect. >> view node: (n * 2). >> view shape rectangle withoutBorder. >> view interaction action: #inspect. >> view node: n forIt: [ >> view shape rectangle >> borderColor:[ :each| Color green ]. >> view interaction action: #inspect. >> view node: (n * 3) ]. >> view verticalLineLayout. >> ] ] >> ] ]. >> browser openOn: 10 >> >> regards, >> Veronica >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > www.tudorgirba.com > > "No matter how many recipes we know, we still value a chef." > > > > > > > _______________________________________________ > 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 |
In reply to this post by Veronica Isabel Uquillas Gomez
Hi Veronica,
I fixed the bug. Actually, it came from Mondrian. For archive, I entered: http://code.google.com/p/moose-technology/issues/detail?id=424 If you confirm the bug disappeared, then I will close the issue. Cheers, Alexandre On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote: > Hi, > > Alex, was trying a similar example in the easel, and what i found is that the problem of the "root interaction" is not in Mondrian but in Glamour. > Tudor, could you please take a look at this? (the first inspect does not work) > > in the easel -> i can see the inspect of the root (first line). > > view root interaction action: #inspect. > (1 to: 10) do: [:n | > view shape rectangle > borderColor:[ :each| Color blue ]. > view interaction action: #inspect. > view node: n forIt: [ > view interaction action: #inspect. > view node: (n * 2). > view shape rectangle withoutBorder. > view interaction action: #inspect. > view node: n forIt: [ > view shape rectangle > borderColor:[ :each| Color green ]. > view interaction action: #inspect. > view node: (n * 3) ]. > view verticalLineLayout. > ] ] > > but if I draw this inside glamour can't > > | browser | > browser := GLMTabulator withStatusbar. > browser column: #one. > browser showOn: #one; using: [ > browser mondrian > painting: [:view :number| > > view root interaction action: #inspect. > (1 to: number) do: [:n | > view shape rectangle > borderColor:[ :each| Color blue ]. > view interaction action: #inspect. > view node: n forIt: [ > view interaction action: #inspect. > view node: (n * 2). > view shape rectangle withoutBorder. > view interaction action: #inspect. > view node: n forIt: [ > view shape rectangle > borderColor:[ :each| Color green ]. > view interaction action: #inspect. > view node: (n * 3) ]. > view verticalLineLayout. > ] ] > ] ]. > browser openOn: 10 > > regards, > Veronica > _______________________________________________ > 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 |
Ha, I knew it :)
Thanks, Alex. Doru On 19 Jul 2010, at 11:48, Alexandre Bergel wrote: > Hi Veronica, > > I fixed the bug. Actually, it came from Mondrian. > For archive, I entered: > http://code.google.com/p/moose-technology/issues/detail?id=424 > > If you confirm the bug disappeared, then I will close the issue. > > Cheers, > Alexandre > > > On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote: > >> Hi, >> >> Alex, was trying a similar example in the easel, and what i found >> is that the problem of the "root interaction" is not in Mondrian >> but in Glamour. >> Tudor, could you please take a look at this? (the first inspect >> does not work) >> >> in the easel -> i can see the inspect of the root (first line). >> >> view root interaction action: #inspect. >> (1 to: 10) do: [:n | >> view shape rectangle >> borderColor:[ :each| Color blue ]. >> view interaction action: #inspect. >> view node: n forIt: [ >> view interaction action: #inspect. >> view node: (n * 2). >> view shape rectangle withoutBorder. >> view interaction action: #inspect. >> view node: n forIt: [ >> view shape rectangle >> borderColor:[ :each| Color green ]. >> view interaction action: #inspect. >> view node: (n * 3) ]. >> view verticalLineLayout. >> ] ] >> >> but if I draw this inside glamour can't >> >> | browser | >> browser := GLMTabulator withStatusbar. >> browser column: #one. >> browser showOn: #one; using: [ >> browser mondrian >> painting: [:view :number| >> >> view root interaction action: #inspect. >> (1 to: number) do: [:n | >> view shape rectangle >> borderColor:[ :each| Color blue ]. >> view interaction action: #inspect. >> view node: n forIt: [ >> view interaction action: #inspect. >> view node: (n * 2). >> view shape rectangle withoutBorder. >> view interaction action: #inspect. >> view node: n forIt: [ >> view shape rectangle >> borderColor:[ :each| Color green ]. >> view interaction action: #inspect. >> view node: (n * 3) ]. >> view verticalLineLayout. >> ] ] >> ] ]. >> browser openOn: 10 >> >> regards, >> Veronica >> _______________________________________________ >> 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 -- www.tudorgirba.com "Be rather willing to give than demanding to get." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> Ha, I knew it :)
But it came from your code :-) Alexandre > > > > On 19 Jul 2010, at 11:48, Alexandre Bergel wrote: > >> Hi Veronica, >> >> I fixed the bug. Actually, it came from Mondrian. >> For archive, I entered: >> http://code.google.com/p/moose-technology/issues/detail?id=424 >> >> If you confirm the bug disappeared, then I will close the issue. >> >> Cheers, >> Alexandre >> >> >> On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote: >> >>> Hi, >>> >>> Alex, was trying a similar example in the easel, and what i found is that the problem of the "root interaction" is not in Mondrian but in Glamour. >>> Tudor, could you please take a look at this? (the first inspect does not work) >>> >>> in the easel -> i can see the inspect of the root (first line). >>> >>> view root interaction action: #inspect. >>> (1 to: 10) do: [:n | >>> view shape rectangle >>> borderColor:[ :each| Color blue ]. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view interaction action: #inspect. >>> view node: (n * 2). >>> view shape rectangle withoutBorder. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view shape rectangle >>> borderColor:[ :each| Color green ]. >>> view interaction action: #inspect. >>> view node: (n * 3) ]. >>> view verticalLineLayout. >>> ] ] >>> >>> but if I draw this inside glamour can't >>> >>> | browser | >>> browser := GLMTabulator withStatusbar. >>> browser column: #one. >>> browser showOn: #one; using: [ >>> browser mondrian >>> painting: [:view :number| >>> >>> view root interaction action: #inspect. >>> (1 to: number) do: [:n | >>> view shape rectangle >>> borderColor:[ :each| Color blue ]. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view interaction action: #inspect. >>> view node: (n * 2). >>> view shape rectangle withoutBorder. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view shape rectangle >>> borderColor:[ :each| Color green ]. >>> view interaction action: #inspect. >>> view node: (n * 3) ]. >>> view verticalLineLayout. >>> ] ] >>> ] ]. >>> browser openOn: 10 >>> >>> regards, >>> Veronica >>> _______________________________________________ >>> 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 > > -- > www.tudorgirba.com > > "Be rather willing to give than demanding to get." > > > > _______________________________________________ > 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 |
In reply to this post by Alexandre Bergel
Hi Alexandre,
Yeah.. the actions are working, thanks :D but what does not (not even in the easel) is a popup at the root level... Veronica On 19 Jul 2010, at 11:48, Alexandre Bergel wrote: > Hi Veronica, > > I fixed the bug. Actually, it came from Mondrian. > For archive, I entered: > http://code.google.com/p/moose-technology/issues/detail?id=424 > > If you confirm the bug disappeared, then I will close the issue. > > Cheers, > Alexandre > > > On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote: > >> Hi, >> >> Alex, was trying a similar example in the easel, and what i found is that the problem of the "root interaction" is not in Mondrian but in Glamour. >> Tudor, could you please take a look at this? (the first inspect does not work) >> >> in the easel -> i can see the inspect of the root (first line). >> >> view root interaction action: #inspect. >> (1 to: 10) do: [:n | >> view shape rectangle >> borderColor:[ :each| Color blue ]. >> view interaction action: #inspect. >> view node: n forIt: [ >> view interaction action: #inspect. >> view node: (n * 2). >> view shape rectangle withoutBorder. >> view interaction action: #inspect. >> view node: n forIt: [ >> view shape rectangle >> borderColor:[ :each| Color green ]. >> view interaction action: #inspect. >> view node: (n * 3) ]. >> view verticalLineLayout. >> ] ] >> >> but if I draw this inside glamour can't >> >> | browser | >> browser := GLMTabulator withStatusbar. >> browser column: #one. >> browser showOn: #one; using: [ >> browser mondrian >> painting: [:view :number| >> >> view root interaction action: #inspect. >> (1 to: number) do: [:n | >> view shape rectangle >> borderColor:[ :each| Color blue ]. >> view interaction action: #inspect. >> view node: n forIt: [ >> view interaction action: #inspect. >> view node: (n * 2). >> view shape rectangle withoutBorder. >> view interaction action: #inspect. >> view node: n forIt: [ >> view shape rectangle >> borderColor:[ :each| Color green ]. >> view interaction action: #inspect. >> view node: (n * 3) ]. >> view verticalLineLayout. >> ] ] >> ] ]. >> browser openOn: 10 >> >> regards, >> Veronica >> _______________________________________________ >> 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 _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> Yeah.. the actions are working, thanks :D
> > but what does not (not even in the easel) is a popup at the root level... You can now open a popup on the root. Try: -=-=-=-=-=-=-=-=-= view root interaction popupText: 'hello'. view nodes: (1 to: 10). -=-=-=-=-=-=-=-=-= Cheers, Alexandre > > > On 19 Jul 2010, at 11:48, Alexandre Bergel wrote: > >> Hi Veronica, >> >> I fixed the bug. Actually, it came from Mondrian. >> For archive, I entered: >> http://code.google.com/p/moose-technology/issues/detail?id=424 >> >> If you confirm the bug disappeared, then I will close the issue. >> >> Cheers, >> Alexandre >> >> >> On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote: >> >>> Hi, >>> >>> Alex, was trying a similar example in the easel, and what i found is that the problem of the "root interaction" is not in Mondrian but in Glamour. >>> Tudor, could you please take a look at this? (the first inspect does not work) >>> >>> in the easel -> i can see the inspect of the root (first line). >>> >>> view root interaction action: #inspect. >>> (1 to: 10) do: [:n | >>> view shape rectangle >>> borderColor:[ :each| Color blue ]. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view interaction action: #inspect. >>> view node: (n * 2). >>> view shape rectangle withoutBorder. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view shape rectangle >>> borderColor:[ :each| Color green ]. >>> view interaction action: #inspect. >>> view node: (n * 3) ]. >>> view verticalLineLayout. >>> ] ] >>> >>> but if I draw this inside glamour can't >>> >>> | browser | >>> browser := GLMTabulator withStatusbar. >>> browser column: #one. >>> browser showOn: #one; using: [ >>> browser mondrian >>> painting: [:view :number| >>> >>> view root interaction action: #inspect. >>> (1 to: number) do: [:n | >>> view shape rectangle >>> borderColor:[ :each| Color blue ]. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view interaction action: #inspect. >>> view node: (n * 2). >>> view shape rectangle withoutBorder. >>> view interaction action: #inspect. >>> view node: n forIt: [ >>> view shape rectangle >>> borderColor:[ :each| Color green ]. >>> view interaction action: #inspect. >>> view node: (n * 3) ]. >>> view verticalLineLayout. >>> ] ] >>> ] ]. >>> browser openOn: 10 >>> >>> regards, >>> Veronica >>> _______________________________________________ >>> 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 > > > _______________________________________________ > 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 |
Free forum by Nabble | Edit this page |