Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343178

Summary: "Show structure compare in Out..." option disables "Structure Compare" view in Compare editor.
Product: [Eclipse Project] Platform Reporter: Adam Steiner <asteiner>
Component: CompareAssignee: Platform-Compare-Inbox <platform-compare-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Adam Steiner CLA 2011-04-18 13:09:17 EDT
Build Identifier: M20110210-1200

In Window > Preferences > General > Compare/Patch, "Show structure compare in Outline view when possible" is CHECKED, the "Structure Compare" does not show at all.

This may be isolated to just JDT / Java Source files, but I have yet been able to find another file type where an advanced Structure Compare appears.


Reproducible: Always

Steps to Reproduce:
1.  Install the latest JDT (3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F))
2.  Upon starting Eclipse, go to "Window > Preferences > General > Compare/Patch".
3.  Make sure "Show structure compare in Outline view when possible" is UNCHECKED.
4.  Create a new Java Project.
5.  Create a new Java Class. (Ex: MyTestClass)
6.  Go to the Editor for "MyTestClass", right-click, go to "Compare With > Local History..."
7.  Select the first "Revision Time" in the tab "History" tab.
8.  The "Compare" editor will appear with "Java Structure Compare" at the top, noting that "MyTestClass" was added.
9.  Close the "Compare Editor"
10. Go back to "Window > Preferences > General > Compare/Patch". CHECK "Show structure compare in Outline view when possible".
11. Repeat steps 6 and 7.
12. This time, "Java Structure Compare" will not show in the "Compare" editor.
Comment 1 Adam Steiner CLA 2011-04-18 13:10:25 EDT
Clarification:  I have NOT yet been able to find another file type where an advanced Structure Compare appears.
Comment 2 Lars Vogel CLA 2019-11-14 02:13:11 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.