Okay, I finally managed to replicate the problem. On my original screenshot those tabs were all created and in existence before the chat features came into play in wow. Here's another screenshot of what appears after I create a NEW tab as per Deimous description ( minus the setting of channels to show though ).
And here is the contents of the chat-cache.txt file again:
Code:
WINDOW 1
NAME General
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 1
SHOWN 1
POSITION TOPLEFT 0.008908 -0.084533
DIMENSIONS 608.000061 243.414612
WINDOW 2
NAME Combat Log
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 1
WINDOW 3
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 3
SHOWN 0
POSITION BOTTOMLEFT 0.018229 0.053687
DIMENSIONS 429.999939 120.000008
WINDOW 4
NAME Debug Messages
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 4
SHOWN 0
POSITION BOTTOMLEFT 0.018229 0.053687
DIMENSIONS 429.999939 120.000008
WINDOW 5
NAME Test
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 5
SHOWN 0
POSITION TOPLEFT 0.398499 -0.229465
DIMENSIONS -429.750000 195.625015
WINDOW 6
NAME General/Trade
SIZE 12
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 2
SHOWN 0
WINDOW 7
NAME Chat
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 6
SHOWN 0
WINDOW 8
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0
WINDOW 9
SIZE 16
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0
WINDOW 10
SIZE 0
COLOR 0 0 0 0
LOCKED 1
UNINTERACTABLE 0
DOCKED 0
SHOWN 0
As you can see the frames are all here. And the fact that a reloadUI resolves the problem gives me the impression that the event UPDATE_CHAT_FRAMES isn't being triggered in time for nUI to set the chatframes up. I'll have to run some more tests there though.
Edit: After looking at ChatFrame.lua in nUI it seems the UPDATE_CHAT_WINDOWS ( my error before ) is being used to update the chatframes along with other events at the same time.