Skip to content

[Code mining] Editor content jumps around on every save in 4.35 #2786

@Philipp0205

Description

@Philipp0205

Let's make sure issue is not already fixed in latest builds first.

The issue is reproducible with Eclipse 4.35.0 Integration Build: I20250209-1800 Unstable!

Steps to reproduce

From a fresh installation and clean workspace:

  • Create a class and a method that is used in that class
  • Enable code mining and show references
  • Enable "build automatically"

Image

You will see the following issue:

code_minings.mp4

I expected: Code mining should not overlap like before.

But got: The overlapping issue with code mining, already present in earlier versions, has worsened in 4.34. Upon closer inspection, it seems that code mining elements are reloaded/repainted twice instead of once, as in versions before 4.33.

This behavior also causes lines to shift, with new lines constantly being added and removed, making code mining unusable in larger projects!

Tested under this environment:

  • RHEL 9
  • Eclipse 4.35.0

Community

  • I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions