GUACAMOLE-2147: Merge fix order of keystroke log in recordings.

This commit is contained in:
Virtually Nick authored and GitHub committed 2025-11-04 13:26:49 -06:00
commit ba3ccb24e8
1 file changed
+5 -1
@@ -321,7 +321,6 @@ angular.module('player').factory('keyEventDisplayService',
// Add the shortcut to the current batch // Add the shortcut to the current batch
pushEvent(shortcutText, false); pushEvent(shortcutText, false);
} }
}
// Print the key itself // Print the key itself
else { else {
@@ -358,6 +357,11 @@ angular.module('player').factory('keyEventDisplayService',
pushEvent(keyText, typed); pushEvent(keyText, typed);
} }
}
// We ignore key release events here because in practice characters
// are printed when you press keys not release them. The release order
// can be different and lead to wrong character printing order in the log.
}); });