Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 913 by benjamin...(a)gmail.com:
MorphTreeTransformMorph>>drawSubmorphsOn: race condition
http://code.google.com/p/moose-technology/issues/detail?id=913
In my application using Glamour I was often getting a "red square of
death". I tracked this down to MorphTreeTransformMorph>>drawSubmorphsOn:
where the line "m := submorphs basicAt: row." generates a being a
SubscriptOutOfBounds. Part of the cause is that my application is
generating update announcements quite fast, but this is also what provided
reproducability to be able to track this down. Otherwise this probably
only occurs infrequently seemingly at random.
I managed to condense this to the following artificial Workspace example.
To set up, execute the first three comments (later you can cleanup with the
fourth comment), then execute the rest of the script.
--------
"Smalltalk at: #TestAnnouncer put: Announcer new ."
"Smalltalk at: #TestTree put: (MAContainer new label: 'root')."
"Transcript open"
"Smalltalk removeKey: #TestAnnouncer ; removeKey: #TestTree"
| browser |
TestTree := MAContainer new label: 'root'.
1 to: 20 do: [ :x | TestTree add: (MAContainer new label: x) ].
browser := GLMTabulator new.
browser column: #one.
browser transmit to: #one; andShow:
[ :a |
a tree
updateOn: AnnouncementMockA from: TestAnnouncer ;
allExpanded;
children: [:x :i | x children ].
].
browser openOn: TestTree.
--------
Then after that has opened, execute the following:
----
[ 10 timesRepeat:
[
101 to: 110 do:
[ :y |
(TestTree children at: 5) add: (MAContainer new label: y).
TestAnnouncer announce: AnnouncementMockA.
].
(TestTree children at: 5) children removeAll .
TestAnnouncer announce: AnnouncementMockA.
] ] fork.
----
and the tree list should go red.
File in the attached .st file and repeat. Now the tree list doesn't go red.
This is likely more an upstream problem with MorphTreeTransformMorph than
with Glamour, but Glamour is what I had as my test case. I didn't know how
to use MorphTreeTransformMorph directly.
I could probably have a go at fixing this myself after some discussion and
direction.
This was tested in Moose-suite-4-7-beta-20120103.
cheers -ben
Attachments:
MorphTreeTransformMorph-drawSubmorphsOn.st 1.1 KB
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 716 by jannik.l...(a)gmail.com: span or size for each column in
GLMTablePresentation
http://code.google.com/p/moose-technology/issues/detail?id=716
I am using GLMTablePresentation, and I would like to specify span or size
for each column.
To do that:
Extend the GLMTablePresenation, and the associated rendering.
Status: New
Owner: ----
CC: anquetil...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-Famix
New issue 906 by tu...(a)tudorgirba.com: FAMIXType>>classScope should not
return nil
http://code.google.com/p/moose-technology/issues/detail?id=906
Right now, the classScope in FAMIXType returns nil, which is a problem.
FAMIXType>>classScope
"all types are not classes. Redefined in FamixClass"
^ nil
Either we make it return self, or we introduce typeScope.
Status: New
Owner: ----
CC: alexandr...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-Roassal Milestone-4.7
New issue 897 by tu...(a)tudorgirba.com: Roassal line layout does not work
when stretched
http://code.google.com/p/moose-technology/issues/detail?id=897
Try this:
view nodes: #(1 2 3) .
view horizontalLineLayout stretch
We need this to work for the class blueprint
Status: Accepted
Owner: kurs....(a)gmail.com
CC: tu...(a)tudorgirba.com
Labels: Type-Enhancement Priority-Medium Component-PetitParser
New issue 891 by kurs....(a)gmail.com: Right click menu missing in Sample
input in PPParserInspector
http://code.google.com/p/moose-technology/issues/detail?id=891
There is no right click menu in Sample input field in PPParserInspector. It
would be nice to put items such as:
- Copy
- Paste
- Cut
- Parse
Any other suggestions?
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 748 by cy.delau...(a)gmail.com: DistributionMap examples not working
http://code.google.com/p/moose-technology/issues/detail?id=748
When you try to execute the examples in the class side of DistributionMap,
you get an error.
This bug looks complicate and it does not seem to be related to
distributionMap:
When I debug and I go down to the method
DistributionMap>>elementsWithProperty:inPart:
If I insert this lign:
(elementsAndPropertyValue keys detect: [:each | each ==
element]).
it returns me one element.
Then if I execute:
(elementsAndPropertyValue at: element)
I have a KeyNotFound error
Status: New
Owner: jannik.l...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-DSM Milestone-4.4
New issue 555 by jannik.l...(a)gmail.com: DSM improve visualization
http://code.google.com/p/moose-technology/issues/detail?id=555
I made the structure for DSM visualization.
Now, I should create script for each and make communications between them
coherent.
Comment #1 on issue 432 by tu...(a)tudorgirba.com: Popup should appear only
when a certain modifier key is pressed
http://code.google.com/p/moose-technology/issues/detail?id=432
Another option would be to have the rendering happening in another thread.