facebook

Local History is now missing

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #348587 Reply

    Thomas Rogers
    Participant

    I have recently upgraded to MyEclipse for Spring 2014. The very useful “Local History” is now never displayed. I have looked in .metadata\.plugins\org.eclipse.core.resources\.history\, and thankfully, my history is being saved (I just sort that directory by timestamp to get the appropriate code). When I try to use “Compare to Local History”, I expect a dialog to appear, but one never does. Under “Team”, the “Show Local History” shows nothing. Both of these context menu items are enabled. Help!

    #348616 Reply

    OceNA,

    We could see the ‘local history’ in MyEclipse for Spring 2014 at our end.

    When you use ‘Team > Show local history’ or ‘Compare with > local history’ context menu option and if there is no history available for that particular file, then a dialog message appears as shown below.

    If history is available for a particular resource, then the history is shown in the ‘History’ view as shown below. If ‘History’ view is not opened by default, then you can open it from Window > Show view > Other > Team > History.

    If you are still seeing issue, can you please answer some more queries to help us investigate further :
    1) Can you please switch to a new workspace, create a web project , modify the index.jsp page, right click on the index.jsp file and select Team > Show local history and check if you can see the history in the History view ?
    2) If the issue still persists, can you please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?
    3) Please attach the log file located at <Workspace>/.metadata/.log file, if there are any errors of interest logged.

    Let us know how it works for you.

    #348622 Reply

    Thomas Rogers
    Participant

    Aha, the way that the local history is presented has changed. Before, I would get a context menu with the local history timestamps. Now it will only show in the history window. If I have the history window minimized when I do this, the history window ISN’T restored, so no display change occurs. If I have restored the history window, I will see the local history in it. Thanks for the hint (I followed your instructions and it worked just like you said it would).

    #348642 Reply

    OceNA,

    Glad that you got it working.

    The History view is restored (when Team > Show Local History is selected) even if it is minimized or closed. If you are facing any issue regarding this, can you please switch to a new workspace and check if the issue persists.

    Let us know if you see any issues.

    #348646 Reply

    Thomas Rogers
    Participant

    I still have one workspace where I can duplicate the issue. It seems if I don’t have a reference to a window tab group that contains svn, history, etc., it won’t show. I attach a screen shot of that workspace.

    Attachments:
    You must be logged in to view attached files.
    #348668 Reply

    OceNA,

    I could get the History view opened even if the History view is closed or window tab group that contains history view is closed. I have tried in different scenarios and still couldn’t replicate the issue at my end. As mentioned in my earlier response, can you please clarify whether the issue persists in the new workspace, as the workspace in which you are seeing the issue may have corrupted ?

    #348670 Reply

    Thomas Rogers
    Participant

    If I am in the failing workspace, and then create a new workspace and check “Copy Workbench Layout”, the new workspace also has the problem. In any workspace, if I can ever get the local history to appear, it will continue to work correctly. I think the issue is with toolbar groups, but correlating what is displayed with the toolbar group names is not a trivial exercise. Please close this issue. I think there is really a bug here, but I can’t give you any diagnostics, other than screen shots, and a description of what happens. You can’t reproduce the problem, so it must not exist.

    #348695 Reply

    OceNA,

    Can you please clarify whether the problem persists in a clean new workspace, without copying any setting from the old workspace ? If the issue doesn’t persist in the new workspace, please attach your old workspace settings to help us replicate at our end. You can export the workspace setting by going to File > Export > General > Preferences > Browse the ‘To preference file’ and click Finish.

    If the issue persist in the new workspace, please mention the exact steps to replicate the issue.

    We would be glad to solve your issue, if you are prepared to assist us, since that would help you and others who are seeing this issue.

    #348707 Reply

    Thomas Rogers
    Participant

    Questions I thought I had already answered…

    Does the issue occur when I create a new workspace, and create a simple web project in that workspace: NO

    Does the issue occur in at least some of my workspace: YES

    What seems to determine whether the problem occurs or not: Whether the History window selection in the customize perspective dialog is enabled. For the workspaces that fail, this menu item is shown, but is not selected and disabled.

    Does the issue occur when a new workspace is created (but from a failing workspace), when the “Copy Workbench Layout” is checked: YES

    Attachments:
    You must be logged in to view attached files.
    #348726 Reply

    OceNA,

    Thanks for the details provided.

    I have found an issue regarding the view restoration. Here is the scenario in which I could see the issue –
    > Minimize History view
    > Navigate to Window > Show view > Other > Team > select History and click Ok. It is observed that History view is restored.
    > Click anywhere to make sure the History view is minimized
    > Again open the History view from Window > Show view > Other > Team. It is observed that History view is not restored.

    Can you please let us know if this is the only situation you are facing the issue with history view ?

    #348735 Reply

    Thomas Rogers
    Participant

    > Minimize History view
    > Navigate to Window > Show view > Other > Team > select History and click Ok. It is observed that History view is restored.
    > Click anywhere to make sure the History view is minimized
    > Again open the History view from Window > Show view > Other > Team. It is observed that History view is not restored.

    1. This doesn’t fail for me in the workspaces that are functioning correctly. The history window appears every time.
    2. When I perform these steps in a workspace with the problem, I can never see the history view – EVER, even following the steps as outlined..

    What I have noticed is that the minimized menu groups don’t include a group that contains the history icon. See attached image. The difference between the two workspaces is the missing minimized menu group. How do I get that menu group to appear? I suppose this is key to understanding what I’m doing wrong.

    Attachments:
    You must be logged in to view attached files.
    #348736 Reply

    Thomas Rogers
    Participant

    I’d also like to add…
    If the file has no entries in the local history, the dialog pop-up stating that “No local history available for selected resource” does correctly appear in both the failing and the functional workspaces.

    #348761 Reply

    OceNA,

    We could replicate the issue at our end. This is an eclipse core issue and I have raised a bug report in eclipse. Here is the link to the eclipse bug report –
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=432722

    Inorder to open the window pane that contains History view, you need to follow these steps –
    > Right click on the file and select Team > Show local history
    > Maximize the outline view. Observe that history view is also shown.
    > Minimize the outline view and the history view. (Make sure the window pane that contains History view is not closed)
    > Finally right click on the file and select Team > Show local history, to check if the history view is restored with the history in it.

    Thank you very much for the details provided and helping us track down the issue. Hope this helps and let us know how it works you.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Local History is now missing

You must be logged in to post in the forum log in