Bug 74609 - [DnD] allow dragging views without docking
Summary: [DnD] allow dragging views without docking
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Stefan Xenos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 74736
Blocks:
  Show dependency tree
 
Reported: 2004-09-22 12:43 EDT by Rafael Chaves CLA
Modified: 2005-06-13 13:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Chaves CLA 2004-09-22 12:43:55 EDT
i200409212000

Once a view is undocked from a maximized workbench window, it is hard to move it
around if you don't want to dock it again. It would be great if I could press
some modifier key (shift/ctrl/whatever) while I am dragging the view so docking
would be disabled. 

The maximed workbench window part is just intended to make the problem clearly
reproducible. The issue happens whenever the user wants the undocked view and
the workbench to overlap.
Comment 1 Stefan Xenos CLA 2004-09-22 18:49:13 EDT
Good idea. However, to make this happen we'll need access to those modifier
keys... and that requires SWT support. I've filed bug 74736 requesting this support.

CC'ing Michael, because he and I were discussing this very enhancement earlier.

We also thought it would be a good idea to display the message "Hold down ctrl
to detach" on the status line during normal drag/drop... this would help users
discover the modifier key if they didn't know about it already.
Comment 2 Stefan Xenos CLA 2004-10-08 17:41:22 EDT
I took a stab at fixing this, but we're still missing the ability to query for
the initial key state. Reopening bug 74736.
Comment 3 Randy Hudson CLA 2005-05-10 11:42:52 EDT
This bug is a duplicate of bug 58003. The modifier key workaround is a red 
herring because no user will ever find this feature.
Comment 4 Rafael Chaves CLA 2005-06-13 11:54:06 EDT
Not sure this was possible before, but with 3.1 RC2 I can drag either a view
that is inside a detached window (dragging it by the view tab) or a detached
window (dragging it by the title area). By using the latter, I get what I had
originally requested here. The problem remains if I have two views in the same
detached window and I want drag one to its own window.
Comment 5 Michael Van Meekeren CLA 2005-06-13 12:07:18 EDT
I'm marking this bug as fixed.  You can now move widows around without having
them dock using the shell trimmings around the detached view.  To drop a view
back into the workbench you drag the tab, same as you would to drag views inside
the workbench around.  Also I can drag a view from a stack of views in a
detached scenario and create another detached view.
Comment 6 Rafael Chaves CLA 2005-06-13 12:13:25 EDT
Fine with me, but note that for the second scenario you still can't do that if
the workbench window is maximized.
Comment 7 Michael Van Meekeren CLA 2005-06-13 13:08:30 EDT
You could use the popup menu on the view tab.