ID 526704 - GSV menu UI broken when it has only one GSV

Follow

Problem summary
The GSV menu UI isn't updated properly until there are two or more GSV.
 
Customer reported version
katana 5.0v4
 
Customer reported platform
 
Steps to reproduce
 
1) Prepare a Katana project

2) Go to the Project Settings tab --> click on Graph State Variables --> Add Variable
 


3) After adding a GSV, you can see in the top that the highlight GSV isn't align properly.
 

 
Expected behaviour
For the GSV menu UI to be correctly highlighted when only one GSV is present.
 
Actual behaviour
The GSV menu UI is not correctly highlighted when only one GSV is present but does work properly when more than one GSV are present.
 
Workaround
No known work around besides to create an additional empty GSV in order to have the highlight work as intended.
 
Reproduced by support
This bug has been reproduced in:
Katana 5.0v4 - CentOS 7 - Windows 10
Katana 4.5v4
Katana 4.0v1
Katana 3.0v9
Katana 2.5v1 - CentOS 7 - Windows 10
 
Earliest version tested
Katana 2.5v1- This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why