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

Bug 553381

Summary: Editor Lose focus after quick type hierarchy selection
Product: [Eclipse Project] JDT Reporter: Nicolas Mahoudeaux <nmahoude>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: loskutov
Version: 4.14   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552906
Whiteboard:

Description Nicolas Mahoudeaux CLA 2019-11-23 07:38:45 EST
Version: 2019-12 M2 (4.14.0)
Build id: 20191107-0857

After doing a quick type hierarchy (ctrl+T), when I choose a class that is not already opened , the editor open and switch to the new class but dont get the focus (no caret). It even seems nothing has the focus anymore.

When the class is already opened, the focus is transfered to the right editor view when it switches to the coresponding class.

To ease the flow of editing code, I think the focus should transfer to the newly opened editor (the same with already opened editor).
 
To reproduce, create an interface with one implementation. Do ctrl+T on the interface, and choose the implementation.
Comment 1 Andrey Loskutov CLA 2019-11-23 14:59:32 EST
Probably duplicate of bugĀ 552906. Please check 4.14 M3, should be fixed.
Comment 2 Nicolas Mahoudeaux CLA 2019-12-02 17:49:00 EST
Hi, 

I checked against a fresh download of eclipse M3 and it was alright.

As soon as I installed the devstyle plugin the behavior went wrong again.
So definitevly not on eclipse side.

Thank you for the great work!