Modify

Opened 8 months ago

Last modified 8 months ago

#23987 new enhancement

"Undo" button undo actions in all layers (not only in the active one)

Reported by: muralito@… Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: command stack layer Cc: GerdP

Description

Hi. After several years using JOSM, today i realized that the "Undo" button undo actions in all layers, not only in the active one.

Maybe it's not a big issue, but probably because of this behavior, in the past, I lost some work without realizing it, so I would like to have JOSM warns me when I'm undoing things in layers that I'm not seeing right now.

Attachments (0)

Change History (3)

comment:1 by skyper, 8 months ago

Cc: GerdP added
Keywords: command stack layer added

Strange, looking at #17196 only commands of the active layer should be in the command stack after r17347. Looks like something is not working properly.

comment:2 by GerdP, 8 months ago

The changes were reverted with r17399. The problem was never really solved.

comment:3 by muralito@…, 8 months ago

The issue has become visible to me now that I'm working with some layers of shapefiles (which aren't perfect) and i jump between fixing/editing those layers and editing the OSM downloaded layer. I didn't save the shp layer to disk, so when undoing some changes with the OSM layer active, both layers went undone.

Just showing the warning would make me stop the undoing, going to the other layer and saving it, and then continue the undoing in the OSM layer.

Other solutions are welcome, of course, but for my workflow the warning would be good enough.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to muralito@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.