ID 278375 - Nuke Script editor will not provide font size when queried via expression editor

Follow

Problem summary
Nuke Script editor will not provide font size when queried via expression editor

Customer reported version
nuke.10.0v5

Customer reported platform
centos7

Steps to reproduce

1) Open up nuke.

2) Set your workspace to "Scripting" (Default hotkey "Shift+f4")

3) paste this script into script editor

print nuke.toNode("preferences")['ScriptEditorFontSize'].value()


RESULT (In nuke 10.0v5)

Would not print a correct result
"# Result: None"

Workaround
Unknown.

Reproduced by support

Was able to reproduce the error by pasting the script into the script editor in multiple versions of nuke across multiple operating systems.


Will produce no value. "# Result: None"

NukeX 10.5v4 - Linux CentOS 6.9 - MacOS 10.12.3 - OSX 10.11.6 - Windows 10
NukeX 10.0v5 - Linux CentOS 6.9 - Windows 10

================================================

Will return a value of 11 regardless of the font size.

"# Result: 11.0" (regardless of what the font size has been adjusted too in preferences)
NukeX 9.0v9 - Linux CentOS 6.9 - Windows 10 - OSX 10.11.6
Nuke 9.0v1 - Linux CentOS 6.9 - Windows 10
================================================

Worked as intended and prints the correct font size value.

"# Result: 20.0" (when font has been changed to 20 in preferences)

Nuke 8.0v7 - Windows 10 - MacOS 10.12.3 - Linux CentOS 6.9
Nuke 8.0v1 - Linux CentOS 6.9 - Windows 10 - OSX 10.11.6


Expected behaviour
Nuke would correctly print the font size in the script editor.

Actual behaviour
Nuke would not print the font size of the script editor.

 

    We're sorry to hear that

    Please tell us why