Community
Participate
Working Groups
Created attachment 286709 [details] Screeenrecording of the (correct) behavior in E4.19 In a naked Eclipse SDK 4.20, when typing closing braces of any kind, they "eat" trailing characters as long as they have matching open ones before. As the phenomenon is a bit hard to describe, I created a screen recording of how the Java editor behaves on 4.20 VS. 4.19. Editing the same content in other editors works fine. Same for other file types.
Created attachment 286710 [details] Screen recording of the (erroneous) behavior in E4.20
Created attachment 286711 [details] Screeen recording of parenthesis eating characters on E4.20 I probably should've mentioned that this behavior also shows in non-String areas. E.g. if you try a couple of opening parentheses after String.format, even if you wait for a couple of second, you're stuck in "character eating mode" until you've typed as many closing parentheses, as you have opening ones. I've created another screen recording for this one.
This looks very much like bug 574351?
Good catch, Thomas! It certainly looks related, albeit triggered by a different starting point. Very well possible that the effect is caused by the same underlying issue.
Quick side note here: I worked with Oliver Drotbohm on reproducing bug 574585, we used the same Eclipse SDK 2021-06, the same JDK, empty workspace, exactly same steps (creating a new Java project, typing the same, etc.) and I wasn't able to reproduce the problem on my side while he could reproduce this reliably every time. So creating an environment that reproduces this might not be as easy as creating a sample project and trying that. One thing that we noticed was a different in the macOS version. I was running Big Sur, while he was running an older version.
Is this issue Mac specific? @Noopur, Can you check if you can reproduce this issue?
(In reply to Kalyan Prasad Tatavarthi from comment #6) > Is this issue Mac specific? > @Noopur, Can you check if you can reproduce this issue? I haven't seen this and I couldn't reproduce it on Big Sur. As mentioned in other bugs/comments, it could be specific to macOS 10.14. Moving to SWT.
in Eclipse Version: 2021-06 (4.20.0) on macOS it happened very often that a newline in code overwrite the next line in code. After refreshing the display via cursor or scrolling in the code the code is ok. This issue is very anoing so that developing on macOS in eclispe in this version is very restricted.
(In reply to Christopher Erlanger from comment #8) > in Eclipse Version: 2021-06 (4.20.0) on macOS it happened very often that a > newline in code overwrite the next line in code. After refreshing the > display via cursor or scrolling in the code the code is ok. This issue is > very anoing so that developing on macOS in eclispe in this version is very > restricted. Sounds like Bug 574896
Root cause addressed via fix for bug 574351. *** This bug has been marked as a duplicate of bug 574351 ***