Summary: | [DetachedWindows] Add support for DetachedWindow snapping | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Cory Turner <cturner> | ||||
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||
Status: | ASSIGNED --- | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P5 | CC: | baison_hever, michaelvanmeekeren, sxenos | ||||
Version: | 3.0 | Keywords: | helpwanted | ||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Cory Turner
2004-09-02 14:53:17 EDT
Created attachment 14365 [details]
PerspectiveHelper.java patch
Here is a quick attempt at this feature. The intial implementation demonstrates
the expected behaviour, but suffers from a few bugs.
1) Tracking follows the cursor instead the expected dragRectangle
2) Snapping can move the window in the wrong axis when moving from one window
to another. (Dragging off the workbench may cause the window to snap to the
right edge of WorkbenchWindow even though you were half way across).
3) When within snapping distance of any edge, it will snap to any available
line. For example, if you have a workbenchwindow open, and a detached view.
Dragging the view along the bottom of the window will work fine until it hits
what would be the left edge of the WorkbenchWindow if you followed it down. It
snaps here.
The algorithm may also need performance tuning.
This is a very good idea, but the implementation will have to change considerably now that we're dragging using the OS trim. There are currently no plans to work on this feature. PW Changes requested on bug 193523 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. |