ID 379221 - `QT4FormWidgets.FormItemTree` raises AttributeError within Katana 3.1

Follow

Problem summary
As part of the Katana 3.1 release, Katana has updated its version of Qt from 4.8.5 to 5.6.1, as specified in the VFX Reference Platform CY2017.

This has caused some unintended behaviours to Nodes using the QT4FormWidgets  library.

As an example, within the PonyStack Node available by the Katana example recourses folder, when displayed it throws the following traceback:

Error in event handler __idle_callback() for event type "event_idle": AttributeError: 'GroupFormItem' object has no attribute 'updatedSize'    Utils.EventModule    2019-01-22T09:51:01Traceback (most recent call last):  File "bin\software_python\Utils\v5\EventModuleUI.py", line 129, in __invokeHandlerDict  File "plugins\Resources\Examples\SuperTools\PonyStack\v1\Editor.py", line 137, in __idle_callback  File "plugins\Resources\Examples\SuperTools\PonyStack\v1\Editor.py", line 186, in __updateTreeContents  File "plugins\Resources\Examples\SuperTools\PonyStack\v1\Editor.py", line 215, in __treeWidgetSelectionChanged  File "bin\python\UI4\software_python\QT4FormWidgets\v0\FormItemTree.py", line 159, in buildLayoutItem  File "bin\python\UI4\software_python\QT4FormWidgets\v0\FormItemLayout.py", line 423, in __init__  File "bin\python\UI4\software_python\QT4FormWidgets\v0\FormItemLayout.py", line 63, in __init__  File "bin\python\UI4\software_python\QT4FormWidgets\v0\FormItemLayout.py", line 426, in _setup  File "bin\python\UI4\software_python\QT4FormWidgets\v0\FormItemLayout.py", line 104, in _setupAttributeError: 'GroupFormItem' object has no attribute 'updatedSize'
Customer reported version
Katana 3.1v1

Customer reported platform
Fedora

Steps to reproduce
  1. Open cmd/terminal and set %KATANA_RESOURCES% to plugins/Src/Resources/Examples
  2. Create a PonyStack node in the Node Graph
  3. Create a pony in the list item by pressing "+" button
  4. Select "pony" from the list.
Result: Katana will throw the Traceback above, the UI will not show the QT form

 

Workaround
Unknown.

Reproduced by support

This bug has been reproduced in:
Katana3.1v2 - Windows 7 - CentOS7
Katana3.1v1 - Windows 7 - CentOS7 -regression

Unable to reproduce bug in:
Katana3.0v4 - Windows 7 - CentOS7

Earliest version tested
- This issue no longer appears in this version and has regressed

Expected behaviour

Katana 3.0v1 ( Expected behaviour ):


Actual behaviour

Katana3.1v1 ( Current behaviour ):

 

    We're sorry to hear that

    Please tell us why