# Undo (CTRL+Z) reverses multiple steps rather than just one

**URL:** https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [April 4, 2022, 3:13pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941 "2022-04-04T15:13:49Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)
#### Post date: [April 4, 2022, 3:13pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/1 "2022-04-04T15:13:49Z")

</div>

I have been noticing that when I undo in MP3Tag, it does not just undo the last thing I did, but multiple steps. I was copying and pasting tags from one file set to another. I pasted 10 different sets, each with a separate copy and paste. On the last one I made an error and wanted to just undo that last step, but if I hit CTRL+Z all ten copy and pastes are reversed.

I have noticed this several times. I am not sure if it only happens when I cut and paste, but that seems to be when I notice this problem.

I don't know if this is a bug, but if it is, maybe this should be moved to bug reports.

I did some searching and I did find this from 11 years ago, that stated that if the files were saved, then the undo would only go back to the last saving action, but I don't know if it pertains to my problem: [undo undoes everything in the session](https://community.mp3tag.de/t/undo-undoes-everything-in-the-session/12783)

I did a test and if I highlight the files I have just changed and hit save, the undo will not affect the files that have been saved, just like as described in the thread above. But, I thought that everything you did was automatically saved, as was explained to me just last month, so I do not know why I would have re-save the changes just so they would not be subject to the undo command. Perhaps, it is because the saving action is seen as another step to undo.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [April 4, 2022, 5:24pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/2 "2022-04-04T17:24:07Z")

</div>

> [@esumsea](#):
>
> I have noticed this several times. I am not sure if it only happens ...

The toolbar features an "undo" button which also has a dropdown menu.  
There you can select the steps that are available to be undone.

Perhaps it is safer to use that dropdown list.  
I know that if i want to undo an action group, then all the actions, regardless how many manipulations happened during the execution, of that action group are rolled back.

---

<div class="post-metadata">

### Author: ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)
#### Post date: [April 4, 2022, 5:30pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/3 "2022-04-04T17:30:21Z")

</div>

Thanks. Yes, I noticed that, but it seems the drop down only contains the last set of items changed. For example if I copy and paste 10 different albums, each set as its own step, only the files changed in the last set shows up in the undo drop down. So, if I copied Disc A last, then only the tracks of Disc A are shown in the drop down, I guess so I can decide which of those changes I would like to revert, piecemeal. But the copy from Disc b, C, D and so on do not show up in the drop down.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [April 4, 2022, 5:38pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/4 "2022-04-04T17:38:23Z")

</div>

> [@esumsea](#):
>
> But the copy from Disc b, C, D and so on do not show up in the drop down.

Yes, this would be as described in the Docs:

> **[Menu Edit – Mp3tag Documentation](https://docs.mp3tag.de/menus/edit/)**
>
> Menu Edit. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 12, 2022, 2:39pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/5 "2022-04-12T14:39:42Z")

</div>

> [@esumsea](#):
>
> I pasted 10 different sets, each with a separate copy and paste. On the last one I made an error and wanted to just undo that last step, but if I hit CTRL+Z all ten copy and pastes are reversed.

This is not intended behavior and I'll change this with the next release to proper group the different operations, so that only the last copy and paste operation is undone in the described case.

Thanks for pointing!

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 13, 2022, 9:46am UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/6 "2022-04-13T09:46:47Z")

</div>

Undo should now behave as expected with [Mp3tag v3.14b](https://community.mp3tag.de/t/455).

---

<div class="post-metadata">

### Author: ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)
#### Post date: [April 14, 2022, 6:37pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/7 "2022-04-14T18:37:18Z")

</div>

Woohoo! I will test it out and report back if there are any issues. Man you are on fire with the improvements recently...or maybe I am now just taking notice. Thanks!

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [May 14, 2022, 6:38pm UTC](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/8 "2022-05-14T18:38:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
