Bug 571742

Summary: Screen painting cheese when scrolling left and right
Product: [Eclipse Project] Platform Reporter: Nitin Dahyabhai <thatnitind>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: mistria
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
html
none
xml
none
plain
none
plain, but slowly dragged to the left none

Description Nitin Dahyabhai CLA 2021-03-05 21:48:15 EST
Created attachment 285753 [details]
html

If I scroll all the way to the left, then to the right, then back to the left, all using the buttons on the ends of the horizontal scrollbar, in the Generic Editor I'm seeing corrupted character painting.

org.eclipse.lsp4e 0.13.5.202103011336 on:

Eclipse IDE for Enterprise Java Developers (includes Incubating components)
Version: 2021-03 RC1 (4.19.0 RC1)
Build id: 20210304-1123
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 15.0.2
Comment 1 Nitin Dahyabhai CLA 2021-03-05 21:48:34 EST
Created attachment 285754 [details]
xml
Comment 2 Nitin Dahyabhai CLA 2021-03-05 21:52:10 EST
Seems to happen in the Java Editor as well.
Comment 3 Mickael Istria CLA 2021-03-07 15:10:20 EST
(In reply to Nitin Dahyabhai from comment #2)
> Seems to happen in the Java Editor as well.

Do you manage to reproduce it with the plain text editor? Can it be reproduced with plain SWT?
Comment 4 Nitin Dahyabhai CLA 2021-03-07 22:10:26 EST
Created attachment 285767 [details]
plain

Yes, I can see it in the plain text editor, most easily for characters that fall only partly off screen while scrolling, even while using a monospace font (Consolas 10).
Comment 5 Mickael Istria CLA 2021-03-08 03:11:13 EST
Thanks.
Can you please try now with org.eclipse.swt.examples.texteditor.TextEditor? If this can be repeated with this TextEditor example, then the issue is clearly in SWT.
Comment 6 Nitin Dahyabhai CLA 2021-03-10 23:59:35 EST
Created attachment 285795 [details]
plain, but slowly dragged to the left

No, the standalone example application doesn't exhibit this behavior.