Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 385368 - History View changes contents when focused
Summary: History View changes contents when focused
Status: CLOSED DUPLICATE of bug 384068
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 02:30 EDT by Thomas Stroeter CLA
Modified: 2012-08-21 09:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stroeter CLA 2012-07-18 02:30:29 EDT
Build Identifier: 20120614-1722

In eclipse 4.2 the history view focus handling behaves differntly compared to version 3.7.2 if the "Link with Editor and Selection" is enabled. 

If you select a file within the "Navigator"- or "Package Explorer"-view it's revision information are properly shown within the History view.

But as soon you click the history view, for example to compare two revisions or retrieve some other information, it's content is always synced with the editor's content. 

In eclipse 3.7.2 and before the history view was NOT updated in this case.
This new behaviour is not very handy to access revision information from within eclipse.

Reproducible: Always

Steps to Reproduce:
1. Open the "history" view and enable the option "Link with Editor and Selection"

2. Open a file within the editor that is stored in version control and select another file stored on a VCS within the Navigator or Package Explorer. The history view should now display the version information of the SELECTED file, not the file displayed within the editor.

3. Try to compare two revision of the selected file from within the History view.
    As soon as you click the tab in eclipse 4.2 the content is synced with the editor's contents.
    So you can not browse the version information for a SELECTED file within the view anymore, 
    as it was possible up to eclipse 3.7.2.
Comment 1 Dani Megert CLA 2012-08-21 09:28:11 EDT

*** This bug has been marked as a duplicate of bug 384068 ***