RED
RED copied to clipboard
Ctrl + Z acts on wrong tab after switching using keyboard shortcuts
To reproduce:
- Open any two .robot files
- Do a trivial edit in one of them
- Switch to the other one using
Ctrl + PageUp
orCtrl + PageDown
- Do another trivial edit
- Press
Ctrl + Z
- Notice how your trivial edit made in step 4 isn't reverted
- Switch tabs to the other .robot file
- Notice how your trivial edit made in step 2 is reverted
I can consistently reproduce this on RED 0.9.5 on Windows 10. This bug has caused me to lose bits of code multiple times already 😅. Note that I cannot reproduce this using plain text files, only with Robot Framework files.
Let me know if you're able to reproduce this, I would love to see this fixed 🙂!
HI, yes it is reproducible. We have it reported internally too.
Hi,
When can we expect fix for this issue?
Hi,
we had little time for RED recently and as a result we do not know yet what is the cause of this.
From what I've checked this is reproducible with eclipse version 4.16 and RED product at version 0.9.5 was updated to use precisely this version. I can also reproduce it with newest eclipse 4.17 released few weeks ago. Nothing had changed in this code area in RED recently so it must be caused by eclipse change - however it may be some API misuse so the actual fix could be made on RED side. Anyway further investigation is required.
As a workaround currently one can use eclipse 4.15 (2020-03) and install RED in it.
Hi,
I can confirm that the problem is not only when switching tabs using "Ctrl + PageUp" or "Ctrl + PageDown", but also when using the mouse to switch tabs.
I have two videos if needed.
Hi,
Do you have visibility about the correction of this bug ? We can't use the latests versions of Eclipse because of that (4.16 to 4.19). It's a shame because RED plugin is very helpful otherwise.
Thanks
I have problems with not working undo/redo for robot files in many situations after upgrading Eclipse. It's almost unusable with this bug because I can't work without undo/redo.
I downgraded to Eclipse 2019-03 this morning and did some tests:
Eclipse 2019-03
- opened three robot files and placed them side by side in the editor
- made a change in the first file -> undo/redo buttons remain unchanged
- made a change in the second file -> undo/redo buttons remain unchanged
- made a change in the third file -> undo/redo buttons switch to yellow und funktionality is normal - but only for the third file -> doing the same steps using ctrl-z works, so the problem here is in the buttons (menu "Edit")
Eclipse 2020-03 - regarding the button problems in the previous test I concentrated on keys now:
- opened two robot files
- made a change in the first file
- made a change in the second file
- saved both files using the "save-all" button
- made ctrl-z in first file -> works
- made ctrl-z in second file -> works
Eclipse 2020-12 - the version I was previously using
- opened two robot files
- made a change in the first file
- made a change in the second file
- saved both files using the "save-all" button
- made ctrl-z in first file -> nothing happens
- switch to the second file -> the change was reverted!
So in version 2020-12 a SAVED file is changed by a wrong undo :'(
This problem has been consuming lots of my time, it's a desaster. I will go back to 2020-03.
I put all this information especially for other people who are facing this problem and can't find any knowledge about it.
@michalanglart Is it possible to fix this bug and release together with RF 4.0 support?
Hi,
first of all we will know next week how much work we would be able to do in RED development in nearest future.
However no matter the outcome I doubt there will be a single release covering both. This bug is annoying for many people so once we would fix it we would release a version.
Support for RF 4.0 requires more effort probably so we wouldn't wait for that with a release when having this bug fixed.
So far I've spent some time on 2 or 3 occasions looking for the cause of this bug however no luck yet.
Is there a chance this bug will get fixed? Being stuck on Eclipse 2020-03 is becoming a problem.
This bug is still active in Eclipse 2021-12 :(