desktop
desktop copied to clipboard
Content lost with CTRL-Z shortcut
Describe the issue When at least 2 files are opened (in tabs), if you edit on one file, and type "CTRL-Z" shortcut while the other tab is displayed, then its content is fully replaced by the one of the other tab, where the edit was done (with the last modification removed)
To Reproduce (optional) Steps to reproduce the behavior:
- Open 2 files (foo.txt, foo2.txt)
- Add different content on the 2 files and save them
- Open foo.txt tab, and edit something
- Open foo2.txt, hit "CTRL-Z"
Result It can vary:
- either the full content of the file is erased, no possibility to recover it (the content is saved, so even closing/opening again, the content is definitely lost!
- either foo2.txt is replaced by the content of foo.txt before the last modification, here, you can recover the content of the file
Device (please complete the following information):
- OS: Windows 10
- Version 2.0.0-rc3