Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/06/14, 10:23 AM   #1
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 161
Porting to a Wayshrine - Only partial UI-Reload ? Persistent TopLevelWindows ..

Yo,

I've release my ChatTabs Manager yesterday with an short Example Plugin that doesn't use
any complicated code just the CALLBACK_MANAGER to setup it 's Tabs.

Manager: http://www.esoui.com/downloads/info1...bsManager.html
Example: http://www.esoui.com/downloads/info130.html

Today I've noticed a strange Bug.

If I port to a Wayshrine - after the Loading Screen - the TopLevelWindows I created before with wm:CreateTopLevelWindow(controlName) which get stored in CETA.chatTabs (which is a simple table, CETA = ZO_Object:Subclass()) seem to stay persistent which will at the moment raise an error.

Edit:

God I'm stupid. Fixing what isn't broken.

I actually forgot to UNHOOK OnPlayerActivated after the first initialization not knowing that it will get retriggered after every loading screen. I actually thought every Addon gets reloaded completely after every Loadingscreen. LMAO!

I'll let that stay here for everyone else thinking the same. Wall of Fame!

Last edited by thelegendaryof : 04/06/14 at 07:28 PM.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Porting to a Wayshrine - Only partial UI-Reload ? Persistent TopLevelWindows ..


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off