[Bugs] #2687 UNSP: positioning shared turtles

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 17 14:10:56 EDT 2011


#2687: positioning shared turtles
------------------------------------------+---------------------------------
    Reporter:  walter                     |          Owner:  walter                     
        Type:  enhancement                |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |     Resolution:  fixed                      
    Keywords:  11.2.0                     |   Status_field:  Unconfirmed                
Distribution:  Unspecified                |      Seeta_dev:                             
------------------------------------------+---------------------------------

Comment(by walter):

 - AttributeError: TurtleArtWindow instance has no attribute 'heading'

 A careless error on my part. Fixed.

 http://git.sugarlabs.org/turtleart/mainline/commit/e46262988a4f02f1ebbcb6602f8d93fbd1dad907

 - the label does ellipsis at the beginning, would be better to do that at
 the end
 - Ideally, all the labels would be on a higher layer than the turtles.

 This patch should take care of these.

 http://git.sugarlabs.org/turtleart/mainline/commit/fe5a5552ebb1a2d1fb7930b31c631e23332b108b

 - If you quit, your label remains. When you rejoin there are 2 labels.
 Hmm. Not sure how to deal with that. I need to detect the disconnect
 somehow.

 - rubber: what does the rubber mean in a shared environment? erase only my
 drawing or all of the drawing on my machine? Atm, when you use the rubber
 it does erase all of the drawings on your machine (should it only erase
 your drawings and leave those that are from another turtle (might be hard
 to do anyhow)?), a small oddity with that: when you use the rubber your
 turtle goes back to 0,0 and the drawings are erased on the other machine
 the turtle goes back to 0,0 (propagate the move) but the drawing does stay

 It would be complicated to maintain separate drawing queues for each
 turtle (although in the Pango patch I wrote, that is how things work. But
 it is *very* slow.) I think the current behavior is anomalous but
 acceptable.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2687#comment:18>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list