For this specific issue, of the operator being re-run after a window is closed, I think this might be all we need:
diff --git a/source/blender/editors/screen/screen_ops.cc…
@pablovazquez - I was thinking about this the other day and how it feels connected to the new docking in the upcoming 4.3 release, and that it'd be nice to introduce both concepts in the same…
Sorry I had to force-push this; there were just too many changes to "space_toolsystem_toolbar.py". This simplifies things a by by not changing anything in "space_toolsystem_toolbar.…
No, these changes are INSIDE ToolSelectPanelHelper._icon_value_from_icon_handle
so the existing callers of this can continue to use it. But I changed this one line to make it more obvious that…
This is that WIP PR we talked about. It started as me just blindly copying your similar work for Properties, and it seems to work a bit. I updated the first capture to show it…
average_data_grids
The odd thing here is that is does just seem like a bug. wm_window_ghostwindow_add
currently does call GHOST_GetWindowState
but then only updates the win's sizex and sizey. Seems a bit odd to…