State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:16.0v1|BugID:378267|
Problem summary
The tab_stats.dat file is created in the first path in the Nuke's plugin paths, whereas it should always be saved to the users .nuke directory, like the uistate.ini.
Customer reported version
nuke.11.2v5
Customer reported platform
windows10
Steps to reproduce
1) Clear your .nuke directory
2) Lunch Nuke
3) Create some nodes using the TAB menu. Notice the tab_stats.dat is created in the users .nuke directory
4) Run the below code, changing <path> for an empty directory path
import nuke
nuke.pluginAddPath("<path>")
print nuke.pluginPath()
The <path> should now be the first item in the pluginPath
5) Create some different nodes using the TAB menu, the tab_stats.dat is created in the <path>
Workaround
Use nuke.pluginAppendPath() to add custom paths.
Or after using nuke.pluginAddPath() to add new paths, re-add the .nuke directory to the plugin path list using nuke.pluginAddPath(<Path/to/users/.nuke>)
Reproduced by support
This bug has been reproduced in:
Nuke 11.3v1 - Windows 10 - CentOS 6.9 - MacOSX 10.13
Nuke 11.2v5 - Windows 10
Nuke 11.2v1 - Windows 10 - CentOS 6.9 - MacOSX 10.13
Earliest version tested
Nuke 11.2v1 - This feature did not exist before this version
Expected behaviour
For the tab_stats.dat file to be saved in the users .nuke directory.
Actual behaviour
The tab_stats.dat file was added to the first path in Nuke's plugin paths.
We're sorry to hear that
Please tell us why