Could UPDATEINTERFACE include layer renaming?

Right now, UPDATEINTERFACE callbacks won’t trigger when you are renaming the name of a layer. This feels slightly inconsistent with other similar behaviors, where it triggers if any edits were made to the glyph. Is this intentional?

What are you trying to do?

I have a PopUpButton that lists all layers in the active glyph, and I was trying to update the names of the layers if any changes are made. Functionally it isn’t a big deal but I was just wondering why layer name change isn’t detected by UPDATEINTERFACE.

The UPDATEINTERFACE notification is meant to redraw the content it the edit view (and related info boxes). So it is issued for every node change and such. Updating your layer popup every time would be super wasteful.
I’ll have a look what is the best way to get you the update.