cboulanger / eventrecorder

A qooxdoo package that allows to record user interaction for replay in testing or presentations
https://cboulanger.github.io/eventrecorder/eventrecorder/
1 stars 5 forks source link

Script editor can't be opened twice #5

Open jaminfine opened 5 years ago

jaminfine commented 5 years ago

When the app first loads, the edit script button can be clicked to open the script editor. However, once the script editor is closed using the x button, the edit script button no longer opens the script editor.

Each time the edit script button is pressed, the console logs a warning:

eventrecorder.editor.placement is not a valid key. Please see the API-doc of qx.core.Environment for a list of predefined keys.

(Including the first time, when the editor actually opens)

This can be fixed by clicking on the dropdown arrow next to the edit script button, and selecting "open editor in this window." Once that option has been selected, the edit script button will work again for the rest of the session, even after the editor has been closed.

Possibly related - The first time the editor is opened the console logs these messages:

qookery.internal.components.FormComponent[1139-0]: Created
Waiting for ACE editor to become available...
008683 qookery.internal.util.Library: Loaded ace

Then, once a second for the rest of the session the console logs this message, even after the editor is closed:

Deferring setup of autocomplete...