2022-10-15, 14:27
I have the following simple DialogVideoInfo.xml
Basically when the DialogVideoInfo is opened there is a small 150ms delay before the button is faded into view, however even with the default control and onload setfocus the control doesn't get focused. However if I remove the delay from the animation then the control focuses fine. This is running on Nexus, haven't test on Matrix.
EDIT:
Fixed by adding:-
<visible allowhiddenfocus="true">true</visible>
to the control, which makes no sense as a faded control should not be treated as hidden.
xml:<window>
<defaultcontrol always="true">8</defaultcontrol>
<onload>SetFocus(8)</onload>
<controls>
<control type="button" id="8">
<animation effect="fade" start="0" end="100" time="200" delay="150">WindowOpen</animation>
<width>340</width>
<include>InfoButtonTemplate</include>
<label>▷ Play</label>
</control>
</controls>
</window>
Basically when the DialogVideoInfo is opened there is a small 150ms delay before the button is faded into view, however even with the default control and onload setfocus the control doesn't get focused. However if I remove the delay from the animation then the control focuses fine. This is running on Nexus, haven't test on Matrix.
EDIT:
Fixed by adding:-
<visible allowhiddenfocus="true">true</visible>
to the control, which makes no sense as a faded control should not be treated as hidden.