JDK-4920211 : Buttons truncated in ControlPanel
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9,windows_2000,windows_xp
  • CPU: x86,sparc
  • Submitted: 2003-09-10
  • Updated: 2003-10-06
  • Resolved: 2003-10-06
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Found in Version 1.5.0-beta (build 1.5.0-beta-b88)
In the "fr" and "it" the translated text is longer than English original and moves the buttons out of visibility.
See attached snapshot.
Appears on Solaris, Windows version is OK.

Comments
EVALUATION FYI, beta-b88 is the l10n PIT build. l10n ws is a child of deployment ws. From the screenshot, it looks like there are 2 problems: 1. when the button label is too long, it shows ... 2. the 2 buttons at the bottom of the general tab are truncated at the bottom. Rita, can you please help to evaluate this bug? Is the Control Panel frame size hard coded? Can it be enlarged? Thanks! ###@###.### 2003-09-11 The problem is with the JTextArea. When it is set to wrap words, it does not seem to return the correct preffered size. This is why pack() does not show the frame correctly. I've contacted the swing team, and filed a bug against this: 4924163. I am going to wait and see if they will be able to fix this for tiger. There is no easy workaround available to temporarily fix this. ###@###.### 2003-09-17 I had to put a temporary workaround for this bug. It is not really pretty, since we are re-packing after control panel window shows up. This will cause blinking/flickering on slower systems. This workaround is necessary since without it the SQE will not be able to PIT our build. Also, I found out the the problem is swing (new bug# 4446522) is going to be fixed and putback on September 26. I will work with SQE to make sure that we undo the workaround fix in our workspace and test that the pack() is doing the right thing after we bring over the changes from swing on September 27. I am keeping this bug open for now to track the problem. ###@###.### 2003-09-19
19-09-2003