The gutter also doesn't update while scrolling up/down. There seem to be 2 line numbers: a very small one and a normal sized one. The normal sized one has stopped updating, the very small one does update. Can you please update the following Mac version: Eclipse version: Monitor setup: single monitor or dual monitor Type of the monitor: retina or non-retina We also did some improvements related to line numbers in 4.16, if you are not using the latest eclipse can you please check whether this is reproducible on the latest eclipse Mac version: 10.14.6 (18G6020) Eclipse Version: 2020-06 (4.16.0) Eclipse Build id: 20200615-1200 Monitor setup: triple monitor Type of the monitor: 4k@60hz via displayport, 2560x1440@165hz via HDMI, internal laptop retina display. The editor currently resides on the 2560x1440 monitor. Enlarging/decreasing fontsize using cmd-+ and cmd-- does repaint the line numbers. Might be relevant: I have installed and use the editor font "JetBrains Mono". Thank you for the information. I will investigate furthur. I am also seeing this issue, see attached screenshots Mac Version: 10.15.6 Eclipse Version: Version: 2020-06 (4.16.0) Eclipse Build id: 20200615-1200 Monitor Setup: Dual Monitor Primary Monitor: Macbook Pro 13" 2017 Retina Default Resolution (2560x1600 native, 1280x800 scaled) Secondary Monitor: (Where the issue is appearing) Samsung C34H89x [1] - 34" Default Resolution (3440x1440, no scaling). As noted by the OP, the issue can be resolved by forcing a repaint of the gutters, e.g. by switching perspectives, but will reoccur over time, it happens in every session for me. [1]: https://displaysolutions.samsung.com/monitor/detail/1131/C34H890 Created attachment 283984 [details]
Screenshot showing corrupted right gutter
Created attachment 283985 [details]
Screenshot showing corrupted left gutter
I am able reproduce this once. quite difficult to reproduce. I am investigating *** Bug 567155 has been marked as a duplicate of this bug. *** (In reply to Sravan Kumar Lakkimsetti from comment #9) > I am able reproduce this once. quite difficult to reproduce. I am > investigating Let me know if there is anything I do to help with diagnosing the issue further. Turn on tracing/diagnostics in Eclipse etc. It happens in every session for me. I see the problem but not able to reproduce this in a consistent fashion. I will investigate further and let you know if I need any tracing. I found a reproducible scenario. The problem doesn't reproduce in debug mode. My current theory is the line numbers ruler getting drawn with 200 % image and 100% image. Because of this we see both sets of line numbers. I will investigate further. my next approach is to see which image representation is being used when we use GC.drawText. New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172006 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172006 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=6c16f919b0cf84a833b695340fe4b57744c1dbb2 (In reply to Eclipse Genie from comment #15) > Gerrit change > https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172006 was > merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=6c16f919b0cf84a833b695340fe4b57744c1dbb2 Merged to master Verified in I20201109-1800 New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172084 New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172200 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172084 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=da64c04309c040b9e2f58c7843f308e426fa91eb Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172200 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=488b26715b7815d584df655a75d431533ecc70a6 Verified newly refactored fix in Eclipse SDK Version: 2020-12 (4.18) Build id: I20201116-1800 OS: Mac OS X, v.10.16, x86_64 / cocoa Java version: 15.0.1 |
Created attachment 283814 [details] Garbled/scrambled gutter in text editor The gutter with linenumbers and annotations for warnings/errors becomes unusable after some time in (in any case) the java editor. See attached image.