Bug 101736 - [DetachedWindows] Customizing ShellPool/Shell style for RCP
Summary: [DetachedWindows] Customizing ShellPool/Shell style for RCP
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-06-24 17:16 EDT by Stephen Goldbaum CLA
Modified: 2019-09-06 16:07 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 Stephen Goldbaum CLA 2005-06-24 17:16:14 EDT
The ShellPool is hardcoded in WorkbenchWindow.configureShell(Shell).  Some RCP 
applications might need to override the current ShellPool settings.  For 
example, our users want to detach many of our views for side-by-side 
comparisons with other applications.  This is not feesible when the detached 
shells are parented by the WorkbenchWindow shell, since all child windows come 
to the front when the WorkbenchWindow has focus.  Changing one line in 
WorkbenchWindow to:
  detachedWindowShells = new ShellPool(null, SWT.SHELL_TRIM);

solves the problem.  It would be good to allow this to be configurable.
Comment 1 Stefan Xenos CLA 2005-06-27 16:49:06 EDT
Changing the shell parent affects the widget lifecycle, search order for drag &
drop, etc... so making it configurable would make it really hard to keep
everything working under all combinations. Configuring the parent pointer is
WONTFIX.

There is an active PR that requests that detached views always be created as
top-level shells, which would give you what you want. It won't be configurable,
though.

Making the shell style flags RCP-configurable shouldn't be a problem.
Comment 2 Paul Webster CLA 2006-09-28 11:01:09 EDT
There are currently no plans to work on this feature.

PW
Comment 3 Stephen Goldbaum CLA 2007-02-05 12:49:54 EST
I'd like to open this again.  Being able to minimize various detached views is a pretty hard requirement for things like trading apps.  I've been running on a modification that created detached views as top-level shells for some time with no ill effects.  Putting this as a property of WorkbenchWindowAdvisor (with appropriate warnings) would allow the application owner to make the decision based on what's best for the application.
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:07:17 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.

If you have further information on the current state of the bug, please add it. 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.