| Summary: | Patch Contents tree disappears when clicking on element | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Nicolas Bros <nicolas.bros> | ||||||||||
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | laurent.goubet, malgorzata.tomczyk, tomasz.zarna | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 206694 [details]
screenshot 1 : before click
Created attachment 206695 [details]
screenshot 2 : after click
Nicolas, where can I get the sources for org.eclipse.emf.facet.efacet.catalog and org.eclipse.emf.facet.efacet.core projects from? I would like to check if applying the patch you submitted in plain vanilla Eclipse will also make the tree disappear. Or maybe you can do it, do you have an installation of Eclipse Classic at hand? Here are the SVN locations of the projects: https://dev.eclipse.org/svnroot/modeling/org.eclipse.emft.facet/trunk/plugins/org.eclipse.emf.facet.efacet.core https://dev.eclipse.org/svnroot/modeling/org.eclipse.emft.facet/trunk/plugins/org.eclipse.emf.facet.efacet.catalog Gosia, please take a look on what's going on here. Created attachment 206969 [details]
screenshot 3: apply patch dialog that doesn't have an error.
I was unable to reproduce this bug with standard compare dialog. I'm attaching a screenshot how does it look like in it.
Nicolas, do you have any errors in your log?
Does the problem occur if you click any file (for instance *.java) or does it only apply to those opened with EMF Compare?
(In reply to comment #6) > Nicolas, do you have any errors in your log? No, I haven't seen any related errors. > Does the problem occur if you click any file (for instance *.java) or does it > only apply to those opened with EMF Compare? To clarify: I don't have this problem most of the time. But it happens all the time with the specific scenario demonstrated by the screenshots attached to this bug: - Install EMF Compare (I believe the bug is linked to EMF Compare) - Apply the attached patch - Click "Selected Resource(s) only" in the EMF Compare dialog box that pops up - The compare dialog opens with efacetcatalog2.ecore selected initially, and it displays its differences using EMF Compare - double-click on a Java file => that's when the patch contents tree disappears After installing EMF Compare I managed to reproduce this problem. Actually the top panel diapers when I select any file other than *.ecore. Would be good to verify if it is a Compare or EMF problem. I have found a workaround : I commented all the extensions in the plugin.xml of org.eclipse.emf.compare.ui. This effectively disables the UI contributions of EMF Compare (but I still need EMF Compare because of dependencies). This is indeed an EMF Compare bug. I have fixed a similar issue recently, I'll check whether this scenario is still reproducible with the latest development version. Sorry for the time it took, this was indded fixed from EMF Compare side and cannot be reproduced any more. batch-closing a bunch of "RESOLVED" bugs. |
Created attachment 206693 [details] the patch with which the issue occurs In the patch wizard (org.eclipse.compare.internal.patch.PatchWizardDialog), when I click on a file in the "Patch Contents" tree, the tree disappears. This bug may be linked to EMF Compare that opens to show the ecore file comparison in the dialog. See the attached before/after screenshots. Eclipse SDK Version: 3.7.1 Build id: M20110909-1335