Copy link to clipboard
Copied
I am getting wrong layer bounds number for a vector shape. Take a look at this file http://d.pr/f/z43x all vector shapes are identical and are copies of each other, but if you try to access "Rectangle 1 copy" bounds, you will see that it will return "100 px,0 px,201 px,100 px" instead of proper "100 px,0 px,200 px,100 px"
I spent alot of time writing extension, and because of this bug I can't finish my extension. Please advice what to do. Thank you!
Copy link to clipboard
Copied
The path( and copies ) used as vector mask is not aligned to the pixel grid. Photoshop will round to the nearest whole pixel when getting the bounds.
If you check the bounds of the first layer you will see that it is also 101 pixels wide.
Copy link to clipboard
Copied
But the size of the vector mask is shown as 100px in option panel http://d.pr/i/dL5 , and if you use transform it will also show that the size is 100.00 px. And using marquee to measure results will 100px, and also position of this vector mask is set to 0 decimals
I just made a 100x100 rectangle in one document and got correct boundries, and then moved the object it to the document I attached in initial post and got boudries increased by one pixel. So it is definetly a bug
Copy link to clipboard
Copied
Any suggestions how to make this bug aknowledged?
Copy link to clipboard
Copied
I am not sure about how to get a bug acknowledged. But first it has to be reported. Did you make a bug report at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform or one of the other product support sites?
This is a user to user forum. While some Adobe employees do visit this forum it is not an official product support forum.
Copy link to clipboard
Copied
Got it, thanks!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now