PDA

View Full Version : Interface.onWindowOpened doesn't trigger when client creates new window



Gkjsdll
May 6th, 2018, 22:56
Example Code:

<?xml version="1.0" encoding="iso-8859-1"?>
<root release="3.3.1" version="3.3.1">
<properties>
<name>testing onWindowOpened</name>
<version>-</version>
<author>Zack (Gkjsdll) Winchell</author>
<description>Tests onWindowOpened</description>
</properties>
<base>
<script name="test">
function onInit()
function onWindowOpened(window)
Debug.console("Window opened");
Debug.console(window);
end

Interface.onWindowOpened = onWindowOpened;
end
</script>
</base>
</root>


Steps to reproduce:
1. Connect client to host running above code
2. Open notes
3. Open console
4. Right Click > Create Item or click Edit list, add item

Those steps trigger the event on host, but not on client. (tested on 5e and CoreRPG)

Moon Wizard
May 8th, 2018, 22:19
Thanks for the report. It was never part of the original code for shared windows. I'll look into adding for the next version.

Regards,
JPG

Jiminimonka
January 24th, 2019, 23:25
Has this bug been fixed yet?

Trenloe
January 24th, 2019, 23:44
Has this bug been fixed yet?
The release notes seem to suggest it was: https://www.fantasygrounds.com/filelibrary/patchnotes.html