Skip to content

Line numbers garbled on Wayland #1654

@tfonda-fbk

Description

@tfonda-fbk

Describe the bug
Line numbers in the Eclipse Java IDE often glitch on GNU/Linux systems using Wayland.

To Reproduce

  1. Open the Eclipse Java IDE in a Wayland session on a GNU/Linux system
  2. Open a Java source file
  3. Start typing and scrolling up and down. At some point the line numbers will display repeated/incomplete characters, or plain wrong numbers

Expected behavior
Line numbers should always look fine.

Screenshots
line_numbers

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)
    OpenSUSE Tumbleweed, KDE Plasma Wayland session. According to the older related bug reports linked below, the issue can be observed on any GNU/Linux distro (in a Wayland session).

  2. JRE/JDK version
    21

Version since
Eclipse 2024-06

Workaround (or) Additional context
Originally discussed here and here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions