Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 857 by benjamin...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
With ConfigurationOfRoassal.667 just loaded, my project application popped up a 'MNU: receiver of "extent:" is nil, but as you can see in the attached screen snapshot, which has the default debugger highlighting showing the current executiong, the receiver is the ivar 'next' which is actually _not_ nil, but an instance of RONullShape. Strange...
As a test case, executing the following in Rossal Easel caused the same MNU. ========= rawView add: (ROElement on: 1) + ROCircle. =========
Fixed it with: Compiler recompileAll. This actually has happened to me a few times in past couple of weeks.
(Note actually the example code gives a really tiny circle and #spriteOn: would have been better than #on:)
Attachments: ROCircle-MNU-extent.png 34.6 KB
Comment #1 on issue 857 by benjamin...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
Also, something has happened to ROCircle that it is no longer constrained to be a circle. The aim of this was so when the text of an element got wider or higher, the other dimension followed to maintain the circle within which the text was centred. This was working in Roassal-AlexandreBergel.352, which you can see with the green ConnectivityNode circles in my project application that I previously uploaded the image to [1]. If you update that image to Roassal.363 (ConfigurationOfRoassal.667) then the circles are flat.
[1] http://files.openinworld.com/ENG8002/20121020-moose47-LEETRICAL.zip
Comment #2 on issue 857 by alexandr...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
I have found two bugs in the way ROCircle is implemented. Maybe you have bumped into these...
Updates: Labels: Component-Roassal
Comment #3 on issue 857 by tu...@tudorgirba.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
Is this still an issue?
Updates: Status: Started
Comment #4 on issue 857 by alexandr...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
Ben, do you still experience that problem?
Comment #5 on issue 857 by benjamin...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
A can't reproduce the MNU. I don't think that was a Roassal problem. Seemed like something unstable in the system but I couldn't pin it down. As per the title fo this ticket, it should be closed.
However I still note that the following in Easel does not produce a circle :P x := (ROElement on: 1) + ROCircle. rawView add: x. x height: 100; width: 200.
Comment #6 on issue 857 by benjamin...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
(Sorry) to be explicit, "Circles" should be constrained to remain a circle when either dimension is changed.
Comment #7 on issue 857 by vhane...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
ROCircle was renamed to ROEllipse.
Comment #8 on issue 857 by benjamin...@gmail.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
Cool, thanks.
Updates: Status: Fixed Labels: Milestone-4.8
Comment #9 on issue 857 by tu...@tudorgirba.com: ROCircle strange MNU #extent: http://code.google.com/p/moose-technology/issues/detail?id=857
(No comment was entered for this change.)