Fix multiple issues with auto-keyframing code
-
Make sure that Delete/Backspace key shortcuts now auto-create a frame (it is a standard procedure for paitners for frame creation)
-
Deduplicate the autokeyframing code in different places, so now it properly handles (some places, e.g. move tool handled them incorrectly):
* Instant Preview * Frame Labels
-
Make sure that the icon for the auto-keyframe button is properly initialized on start
-
Fix the threading issue for reading from KisAutoKey::activeMode(). We cannot read from a KConfig fron non-GUI threads, since KSharedConfig has per-thread copies of the config, which are never synchronized. Hence now we have AutoKeyFrameStateHolder, which listen to the updates in the GUI thread.
-
The patch also fixes an issue in MoveStrokeStrategy, when the autokey command was called before initStrokeCallback(), which caused undo to be broken.