Bug 562857 - Detached views are not focused when main window gets focus after restart
Summary: Detached views are not focused when main window gets focus after restart
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: PC Linux
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-06 01:20 EDT by Gabor Hernadi CLA
Modified: 2020-05-07 08:46 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 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)