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

Bug 16170

Summary: Resizing preferences pages differs depending on the starting page
Product: [Eclipse Project] Platform Reporter: Darin Swanson <Darin_Swanson>
Component: UIAssignee: Randy Giffen <Randy_Giffen>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2 CC: eduardo_pereira, ryan_cooper
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: other   
Whiteboard:

Description Darin Swanson CLA 2002-05-16 12:16:42 EDT
20020515 (with latest debug from HEAD)

We have attempting to update the debug preference pages to update the layout 
correctly on resize.

Unfortunately, you get different behavior depending on what page the preference 
page dialog is first realized on.

Test Case:
Start eclipse
Open preference dialog
Go to the launch history page (in the debug prefs)
Resize the dialog...the page does not resize correctly.
Close the dialog (hit cancel)
Open the dialog 

You are already on the Launch History page (from the memory)
When you resize, the page resizes correctly.

Similar for the Java Step Filter Preference page
Comment 1 Tod Creasey CLA 2002-05-16 14:14:31 EDT
Not sure what OS you are on here - you say other but do not specify it. On Linux
there was a bug that did not resize the preference pages properly but that has
been fixed in 20020515.

When you say resize do you mean programmatically or via the mouse? I can't
replicate this one on Linux or Win 2000.

I did notice on Linux that the bottom list of the Launch Hisotry page was on the
small side - is this what you are referring to?
Comment 2 Darin Swanson CLA 2002-05-16 14:39:56 EDT
Tod,

You will not see the problem on 20020515...in the original 
description..20020515 (with latest debug from HEAD).  We didn't know the pages 
were resizeable until after our submission to 20020514 (we did not submit for 
20020515).  

We are resizing using the mouse.

We have seen the problem on WinNT and XP.
Comment 3 Joe Szurszewski CLA 2002-05-30 16:59:09 EDT
This is still a problem in 20020530.  It is easy to duplicate with the Java Step Filter page or the 
Debug Launch History page.  If either of these pages is the FIRST selected page in the preference 
dialog, then that page resizes properly.  If it is the Nth page viewed in the dialog, where N > 1, the 
resize behavior is incorrect, the most obvious symptom of which is premature truncation of 
widgets on the right side of the page when the dialog is made smaller.
Comment 4 Joe Szurszewski CLA 2002-05-30 16:59:42 EDT
*** Bug 17798 has been marked as a duplicate of this bug. ***
Comment 5 Joe Szurszewski CLA 2002-05-30 17:00:07 EDT
*** Bug 17367 has been marked as a duplicate of this bug. ***
Comment 6 Joe Szurszewski CLA 2002-05-30 17:05:49 EDT
Explanation of why bug 17798 is marked as a dupe:
By carefully measuring the size of the 
preference dialog, it is easy to see that the the size of the 'problem pages' mentioned in bug 17798 
is smaller when they are the first selected page in the dialog, as opposed to when they are selected 
later.  Thus, there doesn't seem to be anything about the pages themselves that causes them to 
always increase in size.
Comment 7 Randy Giffen CLA 2002-05-31 14:33:08 EDT
Fixed
BTW the debug pages all seem to resize OK