ID 427650 - Icons created from Python are not visible when viewing the top menu bar in Nuke Studio/Hiero.

Follow

Problem summary
Assigned icons are not visible when viewing the top menu bar in Nuke Studio/Hiero.

 

Customer reported version
hiero.12.1v1

 

Customer reported platform

CentOS 7.7

 

Steps to reproduce

1) In Nuke Studio, open the Script Editor and run the following command:

 


from PySide2 import QtGuidef test():  icn = QtGui.QIcon('path/to/file.png')  icon = hiero.ui.QtGui.QIcon(icn)  import_menu = hiero.ui.menuBar().addMenu(icon, "Testing")test()

2) View the top menu bar for the created menu item.

 

Expected behavior
The icons should be present and/or the name should fit correctly if no icon is specified.

 

Actual behavior
The icons are missing and the menu name is truncated.

 

Workaround
There is no available workaround at this time.

 

Reproduced by Support in
Nuke 12.1v1 - Windows 10, CentOS 7 - regression

 

Unable to reproduce bug in:
Nuke Studio/Hiero 12.0v5 - Windows 10, CentOS 7

 

Earliest version tested
Nuke Studio/Hiero 12.0v5 - This issue doesn't appear in this version and has regressed
 

 

    We're sorry to hear that

    Please tell us why