Bug 417390 - After using quick fix, 'go back' doesn't take the cursor to the correct position
Summary: After using quick fix, 'go back' doesn't take the cursor to the correct position
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-09-17 02:38 EDT by Rex Kwan CLA
Modified: 2013-09-18 05:01 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 Rex Kwan CLA 2013-09-17 02:38:17 EDT
after using quick fix for some code generated, the [Go Back] function do not go back to correct place.  Then I need to do [Go Forward] once to go to where it should.



-- Configuration Details --
Product: Eclipse 2.0.0.20130613-0530 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.9.0.v20130605-2000
Comment 1 Jay Arthanareeswaran CLA 2013-09-17 23:43:20 EDT
Are you saying that when you go 'forward' and then 'go back', you get the cursor back where you wanted?

Moving to UI for further investigation.
Comment 2 Noopur Gupta CLA 2013-09-18 02:38:48 EDT
(In reply to Rex Kwan from comment #0)
> after using quick fix for some code generated, the [Go Back] function do not
> go back to correct place.  Then I need to do [Go Forward] once to go to
> where it should.

Not able to reproduce the issue with Eclipse 4.4 I20130916-0900.
Could you please provide a concrete example and the steps to reproduce the issue?
Comment 3 Dani Megert CLA 2013-09-18 05:01:14 EDT
(In reply to Noopur Gupta from comment #2)
> (In reply to Rex Kwan from comment #0)
> > after using quick fix for some code generated, the [Go Back] function do not
> > go back to correct place.  Then I need to do [Go Forward] once to go to
> > where it should.
> 
> Not able to reproduce the issue with Eclipse 4.4 I20130916-0900.
> Could you please provide a concrete example and the steps to reproduce the
> issue?

Same here: can't reproduce with latest 4.3.1 and 4.4 M2 candidates. Maybe you see bug 412826?