Bug 41931

Summary: Breakpoint half-activates source file
Product: [Eclipse Project] Platform Reporter: David Corbin <dcorbin>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: douglas.pollock
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
WorkbenchPage patch none

Description David Corbin CLA 2003-08-25 13:25:07 EDT
Normally, pressing CTRL-F6 once and releasing immediately will take you back to
the "last file" (B). Repeatedly doing this oscillates you back and forth between
two source files (A & B).

If a the A is currently active, and B is the last one before that, when a
breakpoint in B is hit, pressing CTRL-F6 does not take me to A, as I would expect.
Comment 1 Douglas Pollock CLA 2003-08-28 11:30:57 EDT
Created attachment 5896 [details]
WorkbenchPage patch

Modifies WorkbenchPage to update activationList when it receives a bringToTop. 
Previously, the debug code would go along the openEditor-bringToTop code path,
which does not update the activationList.  Meanwhile clicking on an editor
would go through setActivePart, which does update activationList.
Comment 2 Douglas Pollock CLA 2003-08-28 11:32:16 EDT
Tod: Could you review this patch and commit if it looks good.  WorkbenchPage is
a bit confusing to me at the moment, and I'm not sure this is the "best"
solution.  Thanks.
Comment 3 Tod Creasey CLA 2003-09-05 10:46:29 EDT
Patch released for build >20030905
Comment 4 Stefan Xenos CLA 2004-09-09 15:51:27 EDT
This patch will probably need to be rolled back and replaced with a different
solution. See bug 73500.
Comment 5 Tod Creasey CLA 2005-05-10 14:56:32 EDT
Marking closed