Community
Participate
Working Groups
If I have focus on a compare editor of a file, and I double-click on the file in the project explorer, the file does not open. To reproduce: - right-click on file <myfile> and choose "compare with->Git index" - have focus on the newly opened compare editor - double-click on <myfile> in the project explorer. -> You will notice that the file does not open. If I set the focus on any other editor (even another compare editor), I can double-click on the file and it will open. I tried this on Windows Vista with the tutorial at EclipseCon with 3.6M5. Thanks
Thanks for the live bug report :)
This seems to be built into the JDT org.eclipse.jdt.ui.actions.OpenAction; not sure how much we as EGit can do here...
(In reply to comment #2) > This seems to be built into the JDT org.eclipse.jdt.ui.actions.OpenAction; not > sure how much we as EGit can do here... You are right, the same things happens with CVS. What do you think, is this a bug? I seemed like a but to me, but since it's been there for a while, maybe it is a behavior people want? So, I can either close this bug, or move it to JDT, depending on if you also feel it is a bug.
This seems to be a standard behaviour of eclipse: If there is already an editor open for a resource double clicking does not open another one. But you can open a new Java editor if you use Open With -> Java Editor.
*** This bug has been marked as a duplicate of bug 277697 ***