# REQUEST: block CTRL + Z when focused in the Filter Box

**URL:** https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125
**Category:** General Discussion
**Created:** [July 6, 2017, 3:19pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125 "2017-07-06T15:19:05Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)
#### Post date: [July 6, 2017, 3:19pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/1 "2017-07-06T15:19:05Z")

</div>

I propose a simple change of blocking of the CTRL + Z keyboard shortcut, when user is focused in the Filter Box

The purpose o this is also simple: when I write some filtering expression, I often accidentally delete some portion of it and then without thinking press quickly the CTRL + Z; which in turn instead if bringing me the deleted potion of expression, reverses my last change done on files. And sometimes I do not even remember what was the change. And I just can't help this impulse no matter how many times I perform this error

That current behavior of Mp3tag is just so annoying and counterproductive

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [July 7, 2017, 7:03am UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/2 "2017-07-07T07:03:46Z")

</div>

> [@Zerow](#):
>
> I propose a simple change of blocking of the CTRL + Z keyboard shortcut, when user is focused in the Filter Box ...

Within the german language setup of Mp3tag v2.83c the shortcut [Ctrl+Z] has no effect in the Filter dialog.

DD.20170707.1057.CEST

---

<div class="post-metadata">

### Author: ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)
#### Post date: [July 12, 2017, 4:09pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/3 "2017-07-12T16:09:19Z")

</div>

> [@DetlevD](#):
>
> Within the german language setup of Mp3tag v2.83c the shortcut [Ctrl+Z] has no effect in the Filter dialog.
> 
> DD.20170707.1057.CEST

1] Open Mp3tag

2] Load any supported file

3] Change any tag field in that file by writing \>\>TEST-1\<\< in it

4] Click in filter box

5] Write \>\>TEST-2 TEST-3\<\< in filter box

6] Select \>\>TEST-3\<\<

7] Delete it

8] Press CTRL + Z, as if you were trying to bring back deleted \>\>TEST-3\<\< in some word editor or Notepad

And now: what happened?

Did "TEST-3" reappear, as I wish it would? Or did "TEST-1" disappear, as my current Mp3tag behavior is? Or did nothing happened, as you stated before?

---

<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: [July 12, 2017, 4:23pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/4 "2017-07-12T16:23:40Z")

</div>

1] Open Mp3tag -\> done

2] Load any supported file -\> done

3] Change any tag field in that file by writing \>\>TEST-1\<\< in it -\> I changed the band name

4] Click in filter box -\> ok

5] Write \>\>TEST-2 TEST-3\<\< in filter box -\> ok

6] Select \>\>TEST-3\<\< -\> ok

7] Delete it -\> it is gone

8] Press CTRL + Z, as if you were trying to bring back deleted \>\>TEST-3\<\< in some word editor or Notepad

And now: what happened? -\> I see only test-2. The files list gets updated so that the file with "test-1" disappears (which could be expected as I do not have a file with "test-2" as data)  
When I remove the filter, the file with "test-1" is shown again.

In short: Ctrl-Z has no special function in the filter box.

---

<div class="post-metadata">

### Author: ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)
#### Post date: [July 12, 2017, 5:12pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/5 "2017-07-12T17:12:22Z")

</div>

> [@ohrenkino](#):
>
> In short: Ctrl-Z has no special function in the filter box.

So only I have this behavior? A bug?

I press CTRL + Z while focused in filter box, and the last work done on some tag field[s] or filename is reverted. It's right there in the Edit drop down menu, at the very top of it:

```
Undo Tag - Filename Ctrl + Z

```

This shortcut works for me anywhere, as long as the Mp3tag window is at the front [and I wish it would not when I am in the filter box]

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [July 12, 2017, 5:40pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/6 "2017-07-12T17:40:10Z")

</div>

> [@Zerow](#):
>
> ... 8] Press CTRL + Z, as if you were trying to bring back deleted \>\>TEST-3\<\< in some word editor or Notepad  
> And now: what happened?...

I can confirm that pressing [Ctrl-Z] within the Filter edit line has a bad effect on the tag data:  
it removes the previously inserted tag-field TEST-1.  
This works like "Hotkey: Ctrl + Z", "Undo the last operation" from the menu "Edit".  
It is probably better to disable this keyboard shortcut while working in Filter Edit mode.

DD.20170712.2140.CEST

---

<div class="post-metadata">

### Author: ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)
#### Post date: [July 13, 2017, 7:06pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/7 "2017-07-13T19:06:50Z")

</div>

I have another issue with the CTRL + Z option: [/t/19140/1](https://community.mp3tag.de/t/19140/1)

---

<div class="post-metadata">

### Author: ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)
#### Post date: [June 1, 2022, 3:04pm UTC](https://community.mp3tag.de/t/request-block-ctrl-z-when-focused-in-the-filter-box/19125/8 "2022-06-01T15:04:36Z")

</div>

Apparently after this update

> [@Undo (CTRL+Z) reverses multiple steps rather than just one](https://community.mp3tag.de/t/undo-ctrl-z-reverses-multiple-steps-rather-than-just-one/56941/6):
>
> Undo should now behave as expected with [Mp3tag v3.14b](https://community.mp3tag.de/t/455).

the box of the Filter also succumbs to this new rule - thus it is possible now to take steps backs in writing of a filtering expression. However if the user will keep pressing `CTRL+Z`, then the history will go back as far as before focusing on the Filter's box and writing something - thus if the user had performed some operations of files, they will be needlessly reversed  
` `  
` `  
And so this issue is still unresolved fully - merely alleviated and with a caveat. Maybe there could be implemented a split into two histories of taken steps: one for the Filter box and a second for the whole rest of Mp3tag?
