Raid-Style party frames break on UI reload

Hi there.

Raid style party frames, when “Keep Groups Together” is selected, breaks upon reloading the UI on WoW live. Repro steps:

Create party with another player
Enable raid style party frames
Enable “Keep Groups Together”
Notice that the raid frames show up as expected
/reload
Notice that the raid frames no longer show

This bug has been around for years. I have found a solution, too!

Delaying the initial attempt to draw the container until the PLAYED_ENTERING_WORLD event ensures that the frames correctly load. I have included an example implementation of this change, split among 3 functions. I have annotated the changes required with a -- ** CHANGED ** comment.

pastebin . com / pJyLGpiZ

It’s pretty frustrating to /reload in the middle of an instance and have to change my ui settings because of it. Would be great if this could get fixed.

I have this issue as well