Bug 22563 - [Perspectives] View layout is tricky at edges
Summary: [Perspectives] View layout is tricky at edges
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Stefan Xenos CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
: 50910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-20 04:39 EDT by Jon Skeet CLA
Modified: 2004-02-16 14:06 EST (History)
4 users (show)

See Also:


Attachments
Fix for this defect (10.39 KB, application/octet-stream)
2004-02-11 15:52 EST, Stefan Xenos CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.