Thread Tools Display Modes
Prev Previous Post   Next Post Next
05/15/15, 01:26 AM   #1
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 578
Secure Render Mode Bug

Neither SCENE_MANAGER nor WINDOW_MANAGER do handle entering/leaving SecureRenderMode properly. (Opening/Closing Crone Market)

SCENE_MANAGER does not wait until all custom fade-scenes reaching SCENE_HIDDEN state.
Any custom fade-scene with a fade-out duration greather than zero will cause security exceptions (Access private function "StopAllMovements" from ...)
One would expect one could dynamically change the fade-out-duration by handling the EVENT_SECURE_RENDER_MODE_CHANGED and call SetHiddenForReason with a zero fade-duration. But this event is not triggered before the market is causing a security exception already. You have no chance to react to this situation.
The only way to overcome this is to create fade-scenes with zero fade-out duration (which is not default value for ZO_FadeSceneFragment!) just for the rare case the market will be opened...

The same thing the other way round: The SCENE_MANAGER does not wait until market scene reaching SCENE_HIDDEN before showing custom scenes again.
Any key-bind function simply doing SCENE_MANAGER:Show("myscene") or SCENE_MANAGER:ShowBaseScene() without checking WINDOW_MNAGER:IsSecureRenderModeEnabled() and skipping any scene change, will cause a security exception.

Please prove I just doing something wrong, but I think the whole SecureRenderMode transition should be reviewed by ZOS.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Secure Render Mode Bug


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