Various problems with undo in chat text input
Please first check if another issue has been opened for your problem
Versions
- OS: Linux
- Gajim version:
1.4.3
- GTK version:
3.24.34
- Python-nbxmpp version:
3.1.0
Cases
Case 1
Steps to reproduce the problem
- Type in chat
Some sentence with multiple words
. - Send message by pressing enter.
- Press
ctrl-z
.
Expected behavior
Chat will remain empty.
Actual behavior
Chat state restored to Some sentence with multiple
.
Case 2
Steps to reproduce the problem
- Type in chat
My other sentence
. - Send message by pressing enter.
- Insert in chat
Some sentence with multiple words
. - Press
ctrl-z
.
Expected behavior
Chat will remove inserted message and become empty.
Actual behavior
Chat state restored to My other
.
Case 3
Steps to reproduce
- Add another locale, non latin one.
I tried Arabic, Georgian, Indian, Russian. - Type something.
- Press
ctrl-z
.
Expected behavior
Chat will undo to previous state.
Mainly I tried to type and ctrl-z
in gnome text edit to check if undo actually works.
Actual behavior
Undo command will not be called.