Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319834

Summary: [KeyBindings] Can't travel through the code by pressing CTRL and clicking
Product: [Eclipse Project] Platform Reporter: Sebastian Oerding <oerding_S>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, daniel_megert, krzysztof.kosmatka+eclipse, Olivier_Thomann, prakash, remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Sebastian Oerding CLA 2010-07-14 07:24:05 EDT
Build Identifier: Helios release 20100617-1415

Sometimes focus on methods gets lost and I can't travel through the code by pressing CTRL and clicking the mouse buttons until I restart Eclipse.

Reproducible: Couldn't Reproduce
Comment 1 Ayushman Jain CLA 2010-07-14 09:45:38 EDT
Sebastian, thanks for reporting the issue. In order to investigate the problem, we'd need to have some reproducible test case or scenario. Since you couldn't reproduce it right now, I intend to close this as WORKSFORME. If at any point of time you get the same problem and you can describe how it happened (testcase /stacktrace, etc), please reopen this bug. Thanks!
Comment 2 Remy Suen CLA 2010-07-14 19:55:02 EDT
Someone gave some more info on bug 319933 but that's in the C/C++ editor.
Comment 3 Olivier Thomann CLA 2010-07-15 11:17:02 EDT
Likely an issue in Platform/UI as it looks like a key mapping is lost.
Move to Platform/UI
Comment 4 Prakash Rangaraj CLA 2010-07-29 03:02:22 EDT
Olivier,

   How is the keybinding for Ctrl click defined? I suspect it might be a jdt-ui specific bug rather than platform ui.
Comment 5 Dani Megert CLA 2010-07-29 03:21:18 EDT
> How is the keybinding for Ctrl click defined? 
There is no key binding for that. I assume this is about the hyperlink feature in editors (Ctrl + mouse move + button click).

Sorry, nothing we can do without further details, please also see
http://www.eclipse.org/eclipse/platform-text/development/bug-incomplete.htm
Comment 6 Krzysztof Kosmatka CLA 2010-12-07 09:23:07 EST
The same thing happening in my eclipse instalation:
Eclipse Java EE IDE for Web Developers.
Version: Helios Service Release 1
Build id: 20100917-0705
WindowsXP with SP3

Sometimes Ctrl+Click just stop working in given editor. In other opened editors it just works fine. When I reopen the "broken" editor, it also works fine again. It is realy annoying.  

Other people in our company also noticed this behaviour. 

I can provide a memory dump taken when the problem occured, if that could help. Quick analisys of this dump shows, that there are two instances of CompilationUnitEditor for the same .java file (I don't know if it is a problem - just thought it might be some trace).

If you think this dump might be helpful, just let me know, how to post it (it is 44M after packing it to zip, so I think I can't just add it as an attachement).
Comment 7 Dani Megert CLA 2010-12-07 09:26:57 EST
> If you think this dump might be helpful, just let me know, how to post it (it
> is 44M after packing it to zip, so I think I can't just add it as an
> attachement).
I don't need a dump but steps to reproduce the problem.