Bug 56793 - [DetachedView] Allow tear-off views to be displayed in an Inspector window
Summary: [DetachedView] Allow tear-off views to be displayed in an Inspector window
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 enhancement with 7 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 77174 78041
Blocks:
  Show dependency tree
 
Reported: 2004-03-30 13:53 EST by Alex Blewitt CLA
Modified: 2019-09-06 16:04 EDT (History)
4 users (show)

See Also:


Attachments
Before draging the view off the main window (313.62 KB, image/jpeg)
2005-04-18 14:16 EDT, Rob Rohan CLA
no flags Details
After draging off the main window it becomes like a tool window (240.91 KB, image/jpeg)
2005-04-18 14:21 EDT, Rob Rohan CLA
no flags Details
Screenshot of a detached window on windows (18.20 KB, image/png)
2005-04-18 15:45 EDT, Stefan Xenos CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2004-03-30 13:53:27 EST
It would be great if views could be displayed as an Inpsector window on Mac OS X. These are defined to 
be hidden when the application loses focus (much like Java's dialogs, only nicer). Plus, they can be 
docked with each other as well -- OmniGraffle does a great job of keeping many inspector windows 
open at once, with standard zoom in/out functions.

Obviously this is a Mac OS X specific thing, but it would be nice if it were possible -- after all, tear-off 
window support has been added to Windows platforms.
Comment 1 Todd Brackett CLA 2005-04-18 13:48:46 EDT
Quick clarification...Has tear-off window support been added to Eclipse on Windows?  If so, what SWT 
control is used to implement?  What is the underlying Win32 API that is leveraged?  Can we get a Windows 
screenshot of the desired behavior?
Comment 2 Rob Rohan CLA 2005-04-18 14:16:53 EDT
Created attachment 20008 [details]
Before draging the view off the main window
Comment 3 Rob Rohan CLA 2005-04-18 14:21:48 EDT
Created attachment 20010 [details]
After draging off the main window it becomes like a tool window

Sorry about the file size I only have mspaint on this computer :-/
Comment 4 Stefan Xenos CLA 2005-04-18 15:40:31 EDT
Looks like we got the attention of apple. Hi, guys. :-)

Tear-off support has been in Eclipse since 3.0. We currently use a regular SWT
Shell with no trim. The contents of the detached window are filled by
reparenting an SWT Composite that contains everything we need (using
Composite.setParent(...)).

The big blocker for detached support on the Mac is bug 78041.
Comment 5 Stefan Xenos CLA 2005-04-18 15:41:10 EDT
Correction -- I should have said the blocker is bug 89051.
Comment 6 Stefan Xenos CLA 2005-04-18 15:45:51 EDT
Created attachment 20020 [details]
Screenshot of a detached window on windows

FYI, here's what a detached window looks like on Windows XP (all the OS trim is
turned off -- the whole region is filled with the Eclipse tab folder).
Comment 7 Todd Brackett CLA 2005-05-27 18:22:22 EDT
Hi Stefan.  Engineering does not believe Eclipse is blocked from doing this on the Mac.  One can create 
inspector windows (kFloatingWindowClass) and views can be embedded into them or moved into them 
(with HIViewAddSubview or EmbedControl).

Let us know if you have questions.
Comment 8 Stefan Xenos CLA 2005-05-27 20:40:38 EDT
It's all greek to me. Eclipse is programmed in Java, so SWT shields me from most
of that icky platform-specific stuff. Steve should be able to decipher it,
though. :-)
Comment 9 Steve Northover CLA 2005-05-30 10:01:34 EDT
Yes, it is possible to reparent on the Mac.  We just haven't had the time to 
write the code.

NOTE:  Reparenting is much more work than just making the operating system 
calls, although the operating system support needs to be there for us to be in 
the game.
Comment 10 Rob Rohan CLA 2006-05-08 12:51:46 EDT
Any progress on this? If someone will point me in the right direction I'll try to fix this my self (I find it quite irritating)
Comment 11 Steve Northover CLA 2006-05-09 15:19:51 EDT
See bug 77174.
Comment 12 Eclipse Webmaster CLA 2019-09-06 16:04:40 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.