Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 98495

Summary: [Preferences] Preferences dialog gets resized after using its split pane
Product: [Eclipse Project] Platform Reporter: Cristian Beskid <schizosfera>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: billy.biggs, jhouston.mail, markus.kell.r, ryenus
Version: 3.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Cristian Beskid CLA 2005-06-06 07:41:16 EDT
Context: Platform preferences [Java]

If the split pane between the tree view and the actual preferences page is used,
the preferences dialog gets resized until it fills the screen. After the bug
appears once, it continues to manifest itself on every preference page in the
preferences dialog (not only java preferences) until the dialog is closed.
There are 2 variants of the bug:

1. Context: 'Installed JREs' preferences page
The preferences dialog gets resized horizontally until it fills the screen.

2. Context: 'JUnit' preferences page
The preferences dialog gets resized vertically until it fills the screen.

Both variants may manifest at the same time if the split pane is used on the
respective preference page (preferences dialog gets resized both vertically and
horizontally until it fills the screen).
Comment 1 Dirk Baeumer CLA 2005-06-06 08:26:07 EDT
Sounds like a layout problem in the dialog itself since it is managing the sash.
Comment 2 Billy Biggs CLA 2005-06-06 08:51:24 EDT
I think this is a duplicate of an older bug, but the steps given here are very
clear.
Comment 3 John Houston CLA 2006-08-22 20:19:14 EDT
I believe this is the same bug as described here: 
1- Using linux (I'm using RH 3U6) launch eclipse
2- Open the preferences dialog
3- Expand one of the categories (in my case, there are many nested categories since WTP is installed, but category in the tree at the left will do)
4- Close the dialog (OK or Cancel)
5- Reopen the dialog

The result is that the preferences dialog is resized to fit the full height of the category tree. Where this becomes a bigger problem is (as in my case) there are many categories and a lower resolution is used -- the dialog is resized such that the OK & Cancel buttons are no longer visible. 
Comment 4 ryenus ' CLA 2007-05-19 03:12:39 EDT
(In reply to comment #3)
> ...
> 4- Close the dialog (OK or Cancel)
> 5- Reopen the dialog
> The result is that the preferences dialog is resized...

Similar but not the same, in this bug you don't have to cloese-n-reopen the preferences window.

My steps:

a. open preferences window
b. change the selected item in the left tree
c. move the vertical split bar
d. the preference window will get bigger.
e. repeat through b to d, finally the window will eat all the screen space, fortunately, not the task bar in windows.

NB: one of b or c is optional ocasionally.

Another problem is that by moving the split bar, one panel can be unlimitedly enlarged meanwhile cause the other squeezed too much.

The expected rule:
if a panel already has enough room, then moving the split bar to enlarge it yields no effect, no squeezing the other panel or even cause the window to grow.

PS: this bug will soon turn 2, action please, before it gets stronger. :P
Comment 5 Tod Creasey CLA 2007-06-14 13:42:31 EDT
There are currently no plans to work on this although we would be happy to review a patch
Comment 6 Markus Keller CLA 2009-05-29 06:15:25 EDT

*** This bug has been marked as a duplicate of bug 278234 ***