Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#3,583 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Java
Stelle
202
Fork
206
Merge medio
14h 7m
PR unite (30g)
103

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-platform/eclipse.platform.swt

Tutte le issue di eclipse-platform/eclipse.platform.swt

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.