Skip to content

Rendering issue if "Show code minings for problem annotations" is enabled #2512

@tobiasmelcher

Description

@tobiasmelcher

Describe the bug

  • Enable the text editor feature "Show code minings for problem annotations" in the preferences
Image
  • open a Java file with lots of errors.
    For example, create a Java file with a main method containing 150 lines of System.out.println() statements without the terminating semicolon (;).
  • Use the mouse wheel to scroll down through the source code.
    Eventually, you will observe a rendering issue: code minings displaying error messages are drawn on top of the source code, making it difficult to read.

Please refer to the following screencast for a visual demonstration:

code_minings.mov

Expected behavior
Code minings are drawn correctly in the source code editor

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)
    I could reproduce the rendering issue on Windows and MacOS

Metadata

Metadata

Assignees

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