Bug 575574 - Line numbers garbled on Wayland
Summary: Line numbers garbled on Wayland
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.20   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2021-08-23 09:12 EDT by Douglas Silva CLA
Modified: 2023-12-06 10:24 EST (History)
4 users (show)

See Also:


Attachments
screenshot 1 (36.54 KB, image/png)
2021-08-23 09:12 EDT, Douglas Silva CLA
no flags Details
screenshot 2 (22.64 KB, image/png)
2021-08-23 09:13 EDT, Douglas Silva CLA
no flags Details
screenshot 3 (67.10 KB, image/png)
2021-08-23 09:13 EDT, Douglas Silva CLA
no flags Details
swt info (2.12 KB, text/x-log)
2021-09-02 23:46 EDT, Douglas Silva CLA
no flags Details
reproducing bug with default light theme (244.46 KB, image/png)
2021-09-02 23:50 EDT, Douglas Silva CLA
no flags Details
screen recording with a newer eclipse build (4.03 MB, video/webm)
2021-09-03 20:39 EDT, Douglas Silva CLA
no flags Details
Reproduced Bug Screenshot (2.78 KB, image/png)
2023-12-06 09:51 EST, Stephen Ranger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Silva CLA 2021-08-23 09:12:05 EDT
Created attachment 286987 [details]
screenshot 1

# Context
I had previously opened an issue against PDT: https://github.com/eclipse/pdt/issues/113


But I was able to reproduce this with other unrelated editors too.


# Description
The vertical line number region sporadically exhibits garbled or duplicated text.

This is only reproducible on Wayland sessions. I have tested it on Ubuntu 21.04 and Fedora Workstation 34 using the GNOME desktop.

# Steps to reproduce
1. Open a file that is long enough to scroll through it
2. Keep scrolling up and down (with the mouse wheel or touchpad) until the line numbers become garbled. Scrolling any further from that point might trigger a new render that eliminates the glitch.

# Environment
Eclipse 2021-06
Ubuntu 21.04 amd64 (ubuntu (GNOME) session on Wayland)

One potentially problematic component here is the graphics card: AMD RX 560 (amdgpu).

Any other details, just ask.
Comment 1 Douglas Silva CLA 2021-08-23 09:13:06 EDT
Created attachment 286988 [details]
screenshot 2
Comment 2 Douglas Silva CLA 2021-08-23 09:13:26 EDT
Created attachment 286989 [details]
screenshot 3
Comment 3 Andrey Loskutov CLA 2021-08-23 09:49:11 EDT
Please try with latest 4.21 M3 build https://download.eclipse.org/eclipse/downloads/drops4/I20210823-0600 

and with a default (not dark) theme.

Please also provide all SWT related config data from Help -> About -> Installation details -> Configuration (filter for org.eclipse.swt.)
Comment 4 Douglas Silva CLA 2021-09-02 23:46:08 EDT
Created attachment 287079 [details]
swt info

Adding SWT-related info, as requested
Comment 5 Douglas Silva CLA 2021-09-02 23:50:33 EDT
Created attachment 287080 [details]
reproducing bug with default light theme

Tried the default light theme, bug still reproducible
Comment 6 Douglas Silva CLA 2021-09-03 20:39:27 EDT
Created attachment 287089 [details]
screen recording with a newer eclipse build

(In reply to Andrey Loskutov from comment #3)
> Please try with latest 4.21 M3 build
> https://download.eclipse.org/eclipse/downloads/drops4/I20210823-0600

I have downloaded an archive named "eclipse-platform-I20210823-0600-linux-gtk-x86_64.tar.gz", is that the right one?

I can reproduce the bug with this build. I'm attaching a screen recording so you can see what I see.
Comment 7 Douglas Silva CLA 2021-10-21 11:01:33 EDT
Let me add some observations:

1. Scrolling _up_ doesn't trigger the problem, only scrolling _down_.

2. Scrolling by dragging the scroll bar doesn't trigger the problem, only scrolling with the mouse wheel does it.
Comment 8 Stephen Ranger CLA 2023-12-06 09:49:57 EST
I have been having the same issue for quite a while. Ubuntu 23.10, Eclipse 2023-09. Seems to more easily repeat itself it I scroll up and down quickly.

Doesn't seem like this bug has been updated in a while but is definitely still a bug for me.
Comment 9 Stephen Ranger CLA 2023-12-06 09:51:08 EST
Created attachment 289245 [details]
Reproduced Bug Screenshot
Comment 10 Alexander Kurtakov CLA 2023-12-06 10:24:11 EST
FWIW, project development moved to https://github.com/eclipse-platform/eclipse.platform.swt and this one will not get any attention here.