Skip to main content
Participating Frequently
October 22, 2020

P: Delete layer doesn't delete the whole layer if the mask is selected

  • October 22, 2020
  • 31 replies
  • 3367 views

Hi there! How to off new feature? Now for deleting layer i should press "Delete" twice - first for mask, second for layer. How can I fix that? I need deleting layer and mask together.

This topic has been closed for replies.

31 replies

waishieAuthor
Participating Frequently
December 9, 2020

@salvatore_carmine_cuccuru Second patch with useless updates but our problem they ignoring

carminecuccuru
Participating Frequently
December 9, 2020

Same problem and it is very annoying and above all it slows down my work a lot.

waishieAuthor
Participating Frequently
December 9, 2020

Please do something! It's still very annoying and slows down my work!

waishieAuthor
Participating Frequently
December 8, 2020

Yeah so annoying! It seems like couple persons using photoshop, because only we asking that.

Charismatic_yogiB82A
Known Participant
December 8, 2020

Still not resolved in 22.1.0 !? Again I need to be careful to make sure that the Icon of the layer is selected and not the mask to delete the layer and not only the mask.

Can you give us the opportunity to select the old behavior, to delete the whole layer no matter what is selected? this is introducing extra steps!

thanks!

Inspiring
November 17, 2020

I still can't delete anything with my keyboard 😄

waishieAuthor
Participating Frequently
November 17, 2020

@JeffreyTranberry Hi! There is new version 22.0.1 and any changes in our problem??

Inspiring
November 10, 2020

I can't even use my delete or backspace to delete any layer anymore in PS 22.. On iMac 2017 with latest MacOS

Dominik Sourcé
Inspiring
November 7, 2020

OK, there is one problem with the workaround above. The active layer also get's deleted when you delete a channel in the channels panel. I totally missed that yesterday ... I see if I can find a solution ...

Dominik Sourcé
Inspiring
November 6, 2020

I think I have found a workaround which perfectly mimics the old behavior. It is based around the script events manager. (In case someone is not familiar with it: with the script events manager you can make Photoshop listen for events and when they happen they trigger an action.) So the idea is, whenever you delete a layer or vector mask, Photoshop "hears" that and then automatically deletes the layer. 

 

Setup:

 

1. record an action which deletes a layer

2. on macOS navigate to User/Library/Preferences/Adobe Photoshop 2021 Settings and open script events manager.xml with a text editor (sorry I don't know the path on Windows, but Google probably does ...)

3. in case you never used the script events manager before, I think you should see about 8 event entries (like the one below).

4. let's add another event. simply copy and paste the code from below after the last entry in your xml-file. you may need the change the number in the first and last line of the code according to the number of entries that are already in your file!

<9>
<name>Delete layer mask</name>
<value>delete</value>
<valueClass>channel</valueClass>
</9>

5. in Photoshop open the script events manager via file > scripts

6. in the Photoshop-events dropdown-menu you should now see "Delete layer mask" (that's the thing we added to the xml file) > select it

7. now choose "action" and select the action you created at the beginning in the dropdown menu.

8. then press "add" on the right-hand side of the window

9. finally press "done"

If nothing went wrong, from now on every time you delete a layer or vector mask, the layer should automatically be deleted as well.

 

I have tested it and basically it works fine on my machine. But right now I don't know if there are any downsides to this. So use at your own risk. (Would love to hear your feedback!)