[Bugs] #3105 Paint UNSP: Paint: undo does not work reliably

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon May 28 22:02:50 EDT 2012


#3105: Paint: undo does not work reliably
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  humitos                    
        Type:  defect                     |         Status:  accepted                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Paint                      |        Version:  0.93.x                     
    Severity:  Unspecified                |       Keywords:  patch                      
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by humitos):

  * keywords:  => patch


Comment:

 This patch solves this issue, but there is a case that I couldn't find
 yet:

  1. Draw anything in 5 steps. For example, five lines
  1. Click twice on "Undo"
  1. Click once on "Redo"

 The "Redo" action will not work. But if you press this button again you
 will see the "Redo" action done. I'm pretty sure that it's related with
 the index ({{{self._undo_index}}}) of the {{{self._undo_list}}} but I
 couldn't fix it yet.

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


More information about the Bugs mailing list