Bug 442093 - improve comment navigation when comments at same line on both sides of compare editor
Summary: improve comment navigation when comments at same line on both sides of compar...
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jacques Bouthillier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 14:18 EDT by Jacques Bouthillier CLA
Modified: 2014-12-26 17:48 EST (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 Jacques Bouthillier CLA 2014-08-19 14:18:07 EDT
While navigating trough the comments in the compare navigator view, I cannot reach all comments when  there is some comments on the right and left side at the same line.
Scenario: Comments at (SIDE and line)
 (LEFT 1) , (LEFT 10), (LEFT 20),  (RIGHT 10), (RIGHT 20)
   
Currently:
Moving forwards: (LEFT 1 ) - > (LEFT 10)  -> (LEFT 20) and loop to (LEFT 1)
	missing (RIGHT 10) and (RIGHT 20)
Moving Backwards:( LEFT 1) ->  (RIGHT 20)  -> ( RIGHT 10) -> loop back to (LEFT 1)
	missing (LEFT 10) and (LEFT 20)
Needs:
Moving forwards: (LEFT 1) - > (RIGHT 10) -> (LEFT 10) -> (RIGHT 20) -> (LEFT 20) and loop to (LEFT 1)
Moving Backwards: (LEFT 1) ->  (LEFT 20) -> (RIGHT 20 )-> (LEFT 10) -> (RIGHT 10) -> loop back to (LEFT 1)
Comment 1 Sam Davis CLA 2014-08-19 14:56:01 EDT
I can reproduce the problem when moving forward but when moving backward it goes through all the comments, although when there are comments on both sides on the same line, it shows the right comment first.
Comment 2 Jacques Bouthillier CLA 2014-08-19 15:12:14 EDT
I just pushed a modification and all comments are reached: Left and Right
Gerrit review: https://git.eclipse.org/r/#/c/31918/
Comment 3 Jacques Bouthillier CLA 2014-08-20 15:58:29 EDT
I found some case where there was a potential for error, will fix it and push it tomorrow. At the same time, I will look at the test cases
Comment 4 Miles Parker CLA 2014-12-26 17:48:44 EST
Guys, I'm going to go ahead and take over this review and finish it up. Let me know if that's a problem.