QLineEdit does not record well events
QLineEdit (and maybe other edit fields) should choose between
- [high-level] only recording "text edited" events
- [low-level] recording all key events and cursor move events
At the moment both are mixed, pressing a key that adds a character records a "set_string" command, while pressing any other key records a "key" event. Moreover if these key depend on the cursor position, they may not be replayed correctly.
Example:
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/SearchBox/SearchLineEdit" command="key" arguments="16777219" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/SearchBox/SearchLineEdit" command="set_string" arguments="a" />
Line 1 : What is the new text ? Which character was deleted ? etc.