Bug 465123 - Structure compare view + ctrl hover incorrect
Summary: Structure compare view + ctrl hover incorrect
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 8
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 11:32 EDT by Ricky Veach CLA
Modified: 2015-04-21 11:32 EDT (History)
0 users

See Also:


Attachments
Picture of bug in "Java Source" compare view. Mouse was not captured, but the area is highlighted in red. (19.52 KB, image/png)
2015-04-21 11:32 EDT, Ricky Veach CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricky Veach CLA 2015-04-21 11:32:30 EDT
Created attachment 252587 [details]
Picture of bug in "Java Source" compare view. Mouse was not captured, but the area is highlighted in red.

Usually when I am comparing files, I want to see the declaration of a method, to refresh my memory on certain things.
Today when I was comparing between 2 commits and examining a file, I noticed the "Ctrl + Mouse Hover" didn't fully underline the method name. In my example picture, I was over "format" method and it underlined "rma". When I "Ctrl + Click" thinking it would still take me to the declaration, instead of taking me to "JSDateFormatter" class, it took me to the "Map" interface, right on the class line.

There are other places in the same file where it was wrong too. I couldn't really find a place where it was right, even before any changes.
I did try the first file in the "Structure Compare" list and it was correct, so it may be getting the data from the wrong file.

Steps on how I produced it:
1) Populate history view
2) Select remote tracking "master" to remote tracking branch "A" in history.
3) Right click and "Compare with Each Other"
4) In structure compare, expand all directories and select and open any file that isn't the first.
5) In the "Java Source" compare view, hold down "Ctrl" and move it around until it starts underlining stuff.

The stuff it underlines is incorrect. I am expecting it to underline complete method, variable names and take me to their declaration. It instead takes me to random classes or doesn't underline items at all.