Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317429 - Keyboard focus remains in editor even though it's not the active part
Summary: Keyboard focus remains in editor even though it's not the active part
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0 RC1   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 08:37 EDT by Remy Suen CLA
Modified: 2010-06-21 20:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.