ID 502786 - Scene Graph View Working Set Columns with custom titles are incorrectly displayed

Follow

Problem summary:

If a Working Set Column is added to a Scene Graph View Widget with a custom column title (rather than the default of the Working Set name), its items fail to display correctly, issuing errors of the following form (with accompanying traceback):

An AttributeError occurred in "WorkingSetItemDelegate.py": 'NoneType' object has no attribute 'getTitleClickStyle'

Steps to reproduce:

With a Scene Graph tab in the Katana layout, issue the following code snippet in the Python tab as a quick means of manifesting the bug:

sgv = UI4.App.Tabs.FindTopTab('Scene Graph').getSceneGraphView()

sgv.beginColumnConfiguration()

sgv.addWorkingSetColumn("test", columnTitle="Test")

sgv.endColumnConfiguration()

A new column titled 'Test" is added to the Scene Graph tab which maps to the newly created 'test' Working Set.

Expected behaviour:

The new column displays checkboxes representing the scene graph location's state for the Working Set.

Actual behaviour:

The new column displays truncated text ("em...", "inc...", "ex...") representing the scene graph location's state for the Working Set, and errors are issued.

Workaround:

No known workaround.

Tested versions/platforms:

  • 4.0v4 - Unaffected
  • 4.0v5 - Affected
  • 4.5v1 - Affected
  • 5.0v1 - Affected

    We're sorry to hear that

    Please tell us why