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

Bug 317429

Summary: Keyboard focus remains in editor even though it's not the active part
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 1.0 RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Remy Suen CLA 2010-06-21 08:37:03 EDT
1. Go to the 'Debug' perspective.
2. Place a breakpoint in your main method.
3. Make sure the 'Debug' view is opened.
4. Activate the editor.
5. F11
6. The 'Debug' view is now active but the keyboard focus is still in the editor and the caret can be seen blinking.
Comment 1 Remy Suen CLA 2010-06-21 08:44:03 EDT
The worst part about this bug is that clicking inside the editor doesn't actually activate the editor. So when you think you're "really" in the editor, you're still not and keybindings do not work as you would expect them to.
Comment 2 Remy Suen CLA 2010-06-21 12:08:50 EDT
The same thing happens if you just use Ctrl+F11 to launch an application. The 'Console' activates and you can see stuff being printed out but the keyboard's focus remains in the editor.
Comment 3 Remy Suen CLA 2010-06-21 20:44:57 EDT
This bug is caused by eager context correction code in the EPS's bringToTop(MPart) method.
Comment 4 Remy Suen CLA 2010-06-21 20:57:42 EDT
Fixed in CVS HEAD.