Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zanthia-by opened this issue Apr 4, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@zanthia-by
Copy link

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.

изображение

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)
@zanthia-by zanthia-by added the bug Something isn't working label Apr 4, 2024
@zanthia-by zanthia-by changed the title Incorrect through changes in Compare Editor when editor is vertically split Incorrect navigation through changes in Compare Editor when editor is vertically split Apr 4, 2024
@iloveeclipse iloveeclipse added the help wanted Extra attention is needed label Apr 15, 2024
@iloveeclipse
Copy link
Member

Note: as a workaround you can set in preferences to show structure compare in the Outline view. In this case it will work with the correct (active) editor.

Beside this, unfortunately, splitting compare editor only leads to troubles, I see different errors reported in the log after split & closing the editor. The compare editor seem not be properly prepared for splitting. Actually not at all...

Contributions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants