#10771 NORM 11.2.0-: Paint undo functionality with clippings seems to often cause duplication

Zarro Boogs per Child bugtracker at laptop.org
Thu Jun 16 15:09:29 EDT 2011


#10771: Paint undo functionality with clippings seems to often cause duplication
--------------------------------------------------------+-------------------
           Reporter:  greenfeld                         |       Owner:  godiard                          
               Type:  defect                            |      Status:  new                              
           Priority:  normal                            |   Milestone:  11.2.0-M3                        
          Component:  paint/drawing-activity (oficina)  |     Version:  Development build as of this date
         Resolution:                                    |    Keywords:                                   
        Next_action:  code                              |    Verified:  0                                
Deployment_affected:                                    |   Blockedby:                                   
           Blocking:                                    |  
--------------------------------------------------------+-------------------

Comment(by godiard):

 >
 > >  * Is possible remove undo_index and use len(undo_list) ?
 >
 > No, because the list may have the pixmaps for redo.  Those are the
 pixmaps after the index position.  If there is nothing to redo, then:
 undo_index == len(undo_list) - 1
 >

 Ahh, ok, you maintain the list because you can do redo too.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10771#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list