Arrow keys control source monitor when textArea in undocked panel is focused
We encountered a strange bug in PP 13.1.3.
We have a panel with a textArea.
When the panel is undocked, the users press F in the timeline to focus a frame from a track in the source monitor.
After that they click inside the textArea in the undocked panel and use the arrow keys to navigate.
Instead of navigating inside the textArea in the undocked panel (which pretends it has focus - the cursor is blinking, the outline of the textArea is showing), the arrow keys are controlling the previously focused source monitor (and nothing happens inside the textArea).
This also happens with the timeline or the program view, if they were previously focused before clicking inside the textArea in the undocked panel.
This bug does not show up if the panel is docked inside premiere, or if the user clicks on a different panel (like essential graphics for example) before clicking inside the undocked panel.
So, for fixing this I need to catch the keyup event inside the textArea for the arrow keys and calculate where the user wants to move the cursor and set the cursor to the calculated position inside the textArea.
It feels dirty and wrong, and also, i cannot stop the source monitor from being controlled by that arrow key event.
Is there a possibility to get some info from extend script which panel had focus before the user clicked inside the undocked panel?
Is there a possibility to focus a "harmless" panel inside premiere via extend script and then focus back on the undocked custom panel?
Is there any possibility to stop propagation for this arrow key event, so that premiere does not use it for source monitor control (which it shouldn't because the source monitor is not under focus if the user clicks inside an undocked panel...)?
This bug is also working with a panel only containing an index.html with this content:
<textarea></textarea>
Regards,
guntram
