Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[GTK4] Slow and choppy text scrolling with SWT_GTK4=1

Đang mở
#3,583 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
frontend

Hướng nghiên cứu

The report identifies GTK4-enabled SWT text scrolling in the Eclipse IDE, but names no source file or test. Start by locating the GTK4 text-widget scrolling and input-handling paths, then compare their behavior with GTK3 and look for existing performance tests. Done means holding the down arrow in a large Java file scrolls smoothly and at least as quickly with SWT_GTK4=1 as with GTK3.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug

I just updated one of my Eclipse installations to 2026-09 and wanted to try the new GTK4 support. Unfortunately, it feels much slower in general, and in particular for text scrolling.

To Reproduce

  1. Start Eclipse 2026-09.
  2. Open some "large" (muliple pages) Java file.
  3. Put the text cursor at the beginning of the file.
  4. Press "down arrow" and keep it pressed.

I'm not sure how much it is visible on video, but here are two captures of this scenario, on the exact same Eclipse and workspace, the only difference being export SWT_GTK4=1 on the second one.

With Gtk3:

https://github.com/user-attachments/assets/610e1676-a34b-4439-8301-668c60b6e51e

With SWT_GTK4=1:

https://github.com/user-attachments/assets/d5f6aa73-e7a9-43bd-9ad9-bd1fdab77ca1

Expected behavior

Scroll behavior should be (at least) as smooth and fast as before.

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • Windows
    • Linux (Fedora Linux 44 (Workstation Edition),
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)

  2. JRE/JDK version

Temurin-25.0.4.1+1 (built-in JustJ)

Version since

Eclipse IDE for Eclipse Committers (includes Incubating components)
Version: 2026-09 (4.41.0)
Build id: 20260903-0720

Workaround (or) Additional context
Add any other context about the problem here.
Any known workarounds for the problem?

Ngôn ngữ chính
Java
Star
202
Fork
206
Merge trung bình
14 giờ 7 phút
Pull request đã merge (30 ngày)
103

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-platform/eclipse.platform.swt

Tất cả issue của eclipse-platform/eclipse.platform.swt

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.