[GRASS-dev] [GRASS GIS] #2503: wxdigit: wrong undo & redo

GRASS GIS trac at osgeo.org
Mon Dec 1 23:31:07 PST 2014


#2503: wxdigit: wrong undo & redo
-------------------------+--------------------------------------------------
 Reporter:  mlennert     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-trunk                
 Keywords:  digitizer    |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:2 mlennert]:
 > Replying to [comment:1 mmetz]:
 > > Replying to [ticket:2503 mlennert]:
 > > > The undo and redo buttons in the digitizer (accessed via the Map
 Display) seem to work well for simple features, but as soon as I use tools
 like split line or similar, the results of undo and redo become somewhat
 arbitrary (at least to the innocent user).
 > >
 > > Please try r63265 (trunk) or r63266 (relbr70).
 >
 > Much better, thanks !
 >
 > There still is some confusion when one goes back one or two steps, then
 digitizes something else.

 The question is what should happen with the available redo steps if
 digitize something new after some undo steps. Eliminate the redo steps or
 insert the new changeset before the first redo step? This is handled by
 the wx digitizer, not the vector lib.

 > When you then undo and redo again, the stack seems to be mixed between
 the different paths, sometimes leading to objects left on screen even when
 going all the way back to the last possible undo.

 It seems that a new changeset is appended after the last redo step if
 available, leading to a mix-up.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2503#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list