ID 515962 - Running Select Visible in Face Selection Mode selects invisible Faces if a Patch Selection has been made invisible

Follow

Problem summary
Running Select Visible in Face Selection Mode selects invisible Faces if a Patch Selection has been made invisible 
 
Customer reported version
Mari 5.0v3
 
Customer reported platform
Multiple
 
Steps to reproduce
 
1) Open an Example Head

2) Using the Selection Tool in Patch Selection Mode, select some Patches

3) Click Selection > Hide Unselected (Shift+H)
 
4) Switch to Face Selection Mode
 
5) Click Selection > Select Visible
 
6) Click Selection > Show All (Ctrl+Shift+H)
 
Expected behaviour
Only the faces visible in step 5, selected via Select Visible, should be selected.
 
Actual behaviour
All of the Object's faces are selected 
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Mari 5.0v3 - Windows 10 - CentOS 7.9
Mari 4.8v3 - Windows 10
Mari 4.8v1 - Windows 10
Mari 4.5v1 - Windows 10
Mari 4.0v1 - Windows 10
Mari 3.0v1 - Windows 10 - CentOS 7.9
 
Earliest version tested
Mari 3.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why