Transparent pixel trimming is not working properly
【Bug Report】 Image → Trim → Transparent Pixel: Second and subsequent attempts do not work
■ Environment
・Photoshop version: 27.5 (also observed in 27.4)
・OS: macOS (M4 MacBook Pro)
■ Summary of the Issue
After using a layer mask for masking, attempting to trim transparent pixels two or more times results in the second and subsequent attempts not functioning at all.
■ Reproduction Steps
① Open the photo file
② Select the subject with the selection tool
③ Trim with the layer mask
④ Image → Trim → Transparent Pixel (works normally at this point)
⑤ Intentionally create a state where an entire edge row or column becomes transparent by adjusting the layer mask
⑥ Run Image → Trim → Transparent Pixel again → nothing happens
■ Additional Notes
・ Phenomenon confirmed with multiple different image files
・No improvement after updating from 27.4 to 27.5
・After step ⑤, it is visually confirmed in the Layers panel that transparent rows/columns exist at the edge
・Initial causes such as ghost pixels (remaining pixels with opacity ≤ 1%) have been ruled out
If others are experiencing the same issue, please share information.
