This callback is actually never excuted when e.g. defining operators buttons through the layout API. A design task has also been created to keep track of this issue: #112253
This callback is actually never excuted when e.g. defining operators buttons through the layout API. A design task has also been created to keep track of this issue: #112253