Bug 562857

Summary: Detached views are not focused when main window gets focus after restart
Product: [Eclipse Project] Platform Reporter: Gabor Hernadi <ghernadi>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: trivial    
Priority: P3    
Version: 4.16   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Gabor Hernadi CLA 2020-05-06 01:20:41 EDT
Reproduces: always

Expected behaviour:
When an already detached view is hidden by another (non-eclipse) window / application, focusing on the main eclipse window also brings the detached view into foreground.

Actual behaviour:
After every start of eclipse this does not work properly. The hidden detached views are not getting to foreground when (re-)focusing the main window (the window / application hiding the detached view does not matter, can be anything).

Workaround: 
Make eclipse somehow recreate the detached view. After that is done, we are back to the expected behaviour. 

Some ways to make eclipse recreate the detached views: 
* Re-attach and detach the view again
* Detach the view into an empty space (I guess that duplicates the whole view and deletes the old one, but the new view behaves properly)
* Switch perspective in main eclipse (can be done twice so you end up in the original perspective, but with working view behaviours)