eclipse-platform / eclipse-platform/eclipse.platform

Incorrect navigation through changes in Compare Editor when editor is vertically split

Open
#1,284 1 comment 1 reaction 0 assignees View on GitHub
bug help wanted
Dominant language
Java
Stars
165
Forks
174
Avg merge
2d 8h
Merged PRs (30d)
22

Description

## Steps to reproduce

1. Open Compare Editor for two different revisions or files. For example, open two revisions of a java file.
2. Split Compare Editor vertically: Window > Editor > Toggle Split Editor (Vertical)
3. Try to navigate (by double-clicking) through changes in the tree at the top of the editor ("Java Structure Compare") on the **left** side. Observe that corresponding changes are highlighted in Java editors in the **right** Compare Editor. Try navigating through changes on the right side and observe that corresponding changes are also highlighted in the right editor.

![изображение](https://github.com/eclipse-platform/eclipse.platform/assets/22434219/dc9825e6-2f53-4ed9-9f42-8378a8b4b4e6)

Expected: When navigating in "Structure Compare" tree and having editor split, the corresponding changes should be displayed on the same side of the split editor where the navigation is occurring.

## Tested under this environment:
* Eclipse IDE/Platform version (as shown in *Help > About*): Version: 2024-06 (4.32)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.