On 2 January 2014 16:54, J.F. Rick <self@je77.com> wrote:
I've been converting DigiTile over to Athens with general success but I have found an odd rendering bug. In this scenario, I am moving the brown square around with a hand. As I am using AthensWrapMorph, I have made it so that the brown square is a submorph of the application (an AthensWrapMorph) and not in the hand. The brown square is actually twice the extent that it appears (i.e., it has a 50 pixel transparent border). This has to be done to allow rotation handles to be added. Anyway, when it moves so that its top would go beyond the top of the application, some crazy rendering effect happens, as illustrated in the included screenshots. This same behavior happens when moving the square to the left side of the screen. It does not happen on either the right or the bottom of the screen. It seems like Athens does not like for submorphs of AthensWrapMorph to extend to the left or above their parent. This seems like a problem and something that can easily happen as somebody moves some morph to be partially offscreen.
Sounds like clipping issue. But it is hard to tell anything by looking at screenshots.. Usually all things outside of visible area should be clipped. Also, note that dragging, like it is done in Morphic, the dragged morph changes its owner to hand (handmorph).. and since it is only within AthensWrapMorph it is where it uses rendering by Athens, it could be simply the case that it don't renders at all (or just uses morhic rendering while held by hand).
Cheers,
Jeff
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
-- Best regards, Igor Stasenko.