And still more toolbar issues

So, I thought all was more or less OK, but no, sadly.

I just now noticed that most of the buttons in a toolbar I created awhile back lost their macros. The macros exist, I made them first before I made the buttons:

Unfortunately most of the buttons in that toolbar now look like this:

And, of course, there is no pathway to re-associate the existing buttons with the macros. Only possibilities are to go to my scripts library and copy each script and paste it back - which will create a COPY of the already existing macros - I don’t want that! - OR, delete the buttons one by one and start over creating new buttons, adding the macros in via the button creation dialog.

Yahhh… super.

Are you sure the rui file is destroyed, or could this be in the xml files? Can you send me the rui and xml if there is one?

No, I am not sure… I will send you both via PM.

The thing is - not being to link back to the macro library from the button editor is also crippling…

So it turns out that it’s actually that the button scripts disappeared from the macros in the macro library, not from the buttons themselves. The tooltips were gone too in a couple of cases. Fixing the macros made the buttons work again. Why/how this happens though, is anybody’s guess.

1 Like

What did you find out?

@Charles, it was only one toolbar that was affected, and in fact the macros themselves were affected (4 in total). We could not trace down the cause unfortunately.

Yes, as Gijs, said, it was actually the macros that got borked, they lost their commands (scripts). In two of the cases the tooltips also got lost and replaced with the macro name, in the other two the correct tooltips were still there. After replacing the scripts by editing via the Macros dialog - not editing the buttons themselves - the buttons worked again, i.e. they were always linked to the correct macros, just the macros went bad. No idea why.