Bug 22563

Summary: [Perspectives] View layout is tricky at edges
Product: [Eclipse Project] Platform Reporter: Jon Skeet <skeet>
Component: UIAssignee: Stefan Xenos <sxenos>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bogofilter+eclipse.org, eclipse, jpshack, sxenos
Version: 2.0Keywords: investigate
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Fix for this defect none

Description Jon Skeet CLA 2002-08-20 04:39:41 EDT
I've just had to "redo" a perspective the way I want it (for reasonable 
reasons) and I've run into the same problem I always have. I wish to 
have the search/console/tasks bar along the whole bottom width of 
Eclipse. I should (I think) be able to do this by dragging a view over 
the status bar and getting an "up" arrow to say I want it to be above 
the status bar. Unfortunately, I can't do that - I have to put 
everything vertically so that *everything* is the full width, get the 
tasks/console/search in the right place and then reorganise the rest.

Have I missed something, or is this genuinely missing functionality?

(The same goes for the top, left and right as well - getting anything 
that takes up a whole side is basically a pain.)
Comment 1 Simon Arsenault CLA 2002-08-23 10:56:55 EDT
This would help with the usuability of the product.
Comment 2 Stefan Xenos CLA 2004-02-07 21:29:07 EST
*** Bug 50910 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Xenos CLA 2004-02-11 15:52:16 EST
Created attachment 7802 [details]
Fix for this defect

This includes a patch for the org.eclipse.ui.workbench project and a patch for
the Geometry class in org.eclipse.jface.util.

Due to a bug in the "create patch" feature, the workbench patch is missing one
change to PageLayout.java. I have also included the full source (my change is a
new function called swtConstantToLayoutPosition at the end of the file -- just
paste that into PageLayout.java and you should be good).

I have also included the full source for TrimDropTarget.java (where most of the
change happened), just in case CVS gets out of sync between now and when the
patch gets committed.
Comment 4 Stefan Xenos CLA 2004-02-12 05:02:59 EST
Kim, can you commit this?
Comment 5 Douglas Pollock CLA 2004-02-13 18:26:19 EST
Committed patch.
Comment 6 Stefan Xenos CLA 2004-02-16 14:06:27 EST
Great. Flagging as fixed.