Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 549923 - Stacked non-restorable views do not appear in the perspective
Summary: Stacked non-restorable views do not appear in the perspective
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-09 06:20 EDT by Alexander Zakusylo CLA
Modified: 2021-07-30 05:59 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zakusylo CLA 2019-08-09 06:20:11 EDT
Define 2 or more stacked non-restorable views in a perspective.
Run the app.

Expected behavior:

All the views should be visible in the stack.

Actual behavior:

Only the top view in the stack appears. If you close that view, the next view magically appears.

Only reproducible for non-restorable views 
Reproducible in 4.8, 4.11, 4.12, master. Not reproducible in 4.6.1
Comment 1 Alexander Zakusylo CLA 2019-08-09 06:34:27 EDT
Broken in this commit
https://github.com/eclipse/eclipse.platform.ui/commit/6ca4be665371fce8141336cd9f3cc624f3409cb1

NO_RESTORE views are unconditionally skipped when the stack renderer is being set up. This is wrong, NO_RESTORE should only affect restarting the workbench.
Comment 2 Andrey Loskutov CLA 2019-08-09 06:41:37 EDT
(In reply to Oleksandr Zakusylo from comment #1)
> Broken in this commit
> https://github.com/eclipse/eclipse.platform.ui/commit/
> 6ca4be665371fce8141336cd9f3cc624f3409cb1
> 
> NO_RESTORE views are unconditionally skipped when the stack renderer is
> being set up. This is wrong, NO_RESTORE should only affect restarting the
> workbench.

Thanks for bisecting.

Do you want to contribute a fix? https://wiki.eclipse.org/Platform/How_to_Contribute
Comment 3 Eclipse Genie CLA 2021-07-30 05:59:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.