I have:
[ul]
[li] added a new column in a script, called Checksum Match[/li]
[li] added a couple of labels, Checksum Match (green background), and Checksum Mismatch (red background)[/li]
[li] set up some Label Assignments so that if the new column is "Yes", it assigns label Checksum Match, and if it is "No" it assigns label Checksum Mismatch[/li][/ul]
If Opus is exited and reloaded, the label assignments do not work. It does not matter if the script column is shown or hidden by default, the behaviour is the same.
The only way I've found to get them to take effect again is to go back into Label Assignments and immediately hit OK.
Please note: This isn't actually an issue since I can just call the script TextVersion.js and it works. However, it is intriguing!
There were a lot of repeats in scriptcolumns.oxc, but I'm still getting the problem.
I have done the following:
[ul]
[li] Removed all addins except AudaxVersion (the one that seems to be messing up) and Checksum (the one that is doing the column used for colouring).[/li]
[li] Deleted scriptaddins.oxc & scriptcolumns.oxc while Opus was not running.[/li]
[li] Restarted Opus.[/li]
[li] Deleted the label assignments and re-created them - it works after doing this.[/li]
[li] Restarted Opus.[/li]
[li] Notice the colours aren't showing again.[/li][/ul]
The column gets populated but the colouring doesn't work:
Going into Label Assignments and hitting OK fixes it:
And again, just renaming AudaxTextVersion.js to TextVersion.js makes it work every time! I re-deleted scriptaddins.oxc & scriptcolumns.oxc and re-set up the filtering after doing that, just to be sure.