| Summary: | Editor cursor: slow caret blinking/updating | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Illya Chekrygin <ichekryg> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | carsten.pfeiffer, daniel_megert, ericwill, jan.public, ppalaga |
| Version: | 3.8.1 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Illya Chekrygin
In addition to the Java/Text Editors, this issue is also detected in 'Console View' > Restarting eclipse does not resolve this issue, neither changing to new > workspace. This indicates an OS issue, given that the blinking (rate) comes from the OS. Moving to SWT for further comments. Might be related to bug 407210. > Also, in Java editor, turning 'Smart Insert' mode off to 'Insert' mode > improves performance back to normal. However, in other editors (.txt, .json, > etc) there is no option for 'Smart Insert' all together and 'Insert' mode is > default, however, the issue is still present. Once it's slow, can you try whether 1. disabling General > Editors > Text Editors > Accessibility: Use custom caret fixes the problem 2. re-enabling that preferences brings back the problem Is this bug still reproducible with Neon? Now that Eclipse defaults to GTK3 this might be fixed. I'm suffering from a similar problem on my Lenovo P50 on Linux. The problem is not as visible when the editor window is small, but gets worse when the editor is > 1000 pixels wide. The painting of cursor and text cannot keep up with the input. I suspects it's a combination of bad performance of the video driver (here: Nouveau), SWT and the text editor implementation. The behavior is slightly different with GTK2 and GTK3: - with GTK2, the input speed is limited by the painting spped. When stopping intput, drawing of characters continues until the input buffer is emptied - with GTK3, "empty characters" are painted when the painting is too slow for the input speed. After stopping input, the actual characters are painted. This way, the text input is not limited by the painting speed, which is an improvement. Adding and deleting lines however still causes lags and visual artifacts. Note: I have not found any other editor that exhibits similar problems on that machine. Oh, and changing the custom cursor setting in the accessibility preferences does not make a difference. Still an issue on Oxygen, Fedora 26. @akurtakov any ideas how to workaround this? FWIW, my problem is resolved (499349). (In reply to Peter Palaga from comment #6) > Still an issue on Oxygen, Fedora 26. > > @akurtakov any ideas how to workaround this? I think you may be experiencing bug 517487. *** This bug has been marked as a duplicate of bug 517487 *** |