Skip to content

LineNumberRuler does not always properly refresh when changing Monitors #308

@akoch-yatta

Description

@akoch-yatta

Description
When moving between Monitors when a Java Editor is opened the LineNumberRulerColumn does not seems to properly redraw everything

Reproduction

  1. Open a Java File
  2. Scroll down a bit
  3. Move the IDE to another monitor, see
Bildschirmaufnahme.2025-05-13.151746.mp4

Expected Behavior
The line number should always be correct

Necessary configuration:
Left monitor was 175%, right monitor was 150%. Could be important that I moved from the bigger to the smaller monitor.

Additional knowledge
Perhaps just some additional buffer image must be reset.
In LineNumberRulerColumn there is already a listener reacting on the ZoomChanged event. There seems to be something missing

Metadata

Metadata

Labels

HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

Type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions