-
Bug
-
Resolution: Fixed
-
Major
-
6.5.2
-
None
-
Security Level: Jimmy
-
None
-
None
As code and steps below
1. move popup window, you'll see left/top displayed in parent window
2. click minimize button of popup window
3. click restore button
The popup window still at the same position but left/top changed
<zk> <zscript><![CDATA[ void updateInfo(Window win, Label lLabel, Label tLabel) { lLabel.setValue(win.getLeft()); tLabel.setValue(win.getTop()); } ]]></zscript> <window title="parent win" border="normal"> <window id="rWin" title="relative win" border="normal" mode="popup" position="parent" minimizable="true" maximizable="true" onCreate="updateInfo(self, lLabel, tLabel);" onMove="updateInfo(self, lLabel, tLabel);" onMaximize="updateInfo(self, lLabel, tLabel);" onMinimize="updateInfo(self, lLabel, tLabel);"> </window> Left: <label id="lLabel" /> Top: <label id="tLabel" /> <button label="restore"> <attribute name="onClick"><![CDATA[ rWin.setVisible(true); ]]></attribute> </button> </window> </zk>