Operating system: Linux-5.2.10-arch1-1-ARCH-x86_64-with-arch 64 Bits
Graphics card: Radeon RX 580 Series (POLARIS10, DRM 3.32.0, 5.2.10-arch1-1-ARCH, LLVM 8.0.1) X.Org 4.5 (Core Profile) Mesa 19.1.5
Broken: version: 2.80 (sub 75), branch: makepkg, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Short description of error
Undo does not work with paint mask selections. The expected behavior here is that undo should work as in other selection modes.
Exact steps for others to reproduce the error
Click on texture paint.
Select single image and create a texture.
Turn on paint masking, and then select the "select box" tool.
click on a face on the cube to select it.