**System Information**
Operating system: Win 10
**Blender Version**
Broken: blender-3.4.0-alpha+master.ddfce277e0cb-windows.amd64-release
Worked: Few builds ago, I believe...
**Short description of error**
Some operators like Fill Mask or Invert Mask are not not respecting the visibility state of the mesh... So if you have some parts of the mesh hidden and then run some of those commands, it will apply the mask to the entire mesh, instead of just the visible part...
**Exact steps for others to reproduce the error**
File/New/Sculpting
Choose the Box Hide tool for example
Hide part of the mesh
Go to the Mask menu and choose Fill Mask
Unhide everything (Sculpt menu/Show All)
As you can see, the mask was applied to the entire mesh, instead of just the visible part
{F13486864}