Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348965 - Staging view: double-clicking on a file does not reuse compare editors
Summary: Staging view: double-clicking on a file does not reuse compare editors
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 minor with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 16:51 EDT by Robert Munteanu CLA
Modified: 2011-07-10 14:42 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Munteanu CLA 2011-06-09 16:51:48 EDT
If I click on an unstaged file multiple times the compare editor is not reused, and I get multiple compare editors opened.
Comment 1 Brad Cupit CLA 2011-07-08 12:37:02 EDT
An additional note: double clicking on staged changes does reuse the compare editor. So as the OP noted, it's just unstaged changes.
Comment 2 Bernard Leach CLA 2011-07-10 02:04:31 EDT
Proposed patch at;

http://egit.eclipse.org/r/3859

This also changes the Compare With->HEAD Revision as they are using the same handler.
Comment 3 Matthias Sohn CLA 2011-07-10 14:42:35 EDT
merged as 2cbdb149e64d00ce161f556220cf5aabb212e4e3