BUG: move tool used with mask breaks bounds of artlayers and layersets

  • 1
  • Problem
  • Updated 11 months ago
  • (Edited)
Repdroduction steps:
1. Create LayerSet with ArtLayer inside;
2. Add mask to LayerSet that reduces it's original bounds;
3. Remember the bounds;
4. Unlink mask and move it few pixels to the bottom right;
5. Repaint mask, make it look the same, but don't paint outside of canvas;
6. Check that bounds of LayerSet are incorrect.

If you then ctrl+click on mask, you will see additional selection outside of the canvas.

Selection of a mask before using move tool looked like this:

Same thing with ArtLayers.

Also there is a bug with bounds of LayersSet - it's almost always incorrect due to invisble layers inside or masks on it's children or itself.
Is there any way to get correct bounds without destructive operations like merging it? Iteration through it's children it's not an option too, because of a bug above.

Here is the psd file and script to reproduce this issue: link
Script will iterate over LayerSets and write their bounds with additional information to console.

Reproduced on windows 7 x64 in CS6, CC2015 and CC2017, which are also x64.
Photo of Серж Рашитов

Серж Рашитов

  • 11 Posts
  • 0 Reply Likes

Posted 11 months ago

  • 1

Be the first to post a reply!