You can select all visible pixels on a layer or deselect any selected pixels.
If a tool
is not working as expected, you may have a hidden selection. Use
the Deselect command and try the tool again.
Select all pixels on a layer within the canvas boundaries
Deselect selections
Do one of the following:Choose Select > Deselect.
If you are using the Rectangle Marquee tool, the Elliptical Marquee tool, or the Lasso tool, click anywhere in the image outside the selected area.
Reselect the most recent selection