JDK-6181705 : PIT: Path/folder name choice is not dropping down when clicking the button on the right, XToolkit
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2004-10-20
  • Updated: 2011-01-19
  • Resolved: 2004-11-05
Related Reports
Duplicate :  
Relates :  
Description
I am popping up a file dialog on XToolkit - Solaris / Linux. When the file dialog comes up, I am choosing a folder from the left hand side list. Now I am clicking the button that is located to the right of 'folder/path name' choice (This would look like a textfield with a button on the right and on clicking the button a drop-down will appear normally). This is the first component on the file dialog located on top of all other components, that displays the current folder path (say /net/sqindia/export). On clicking the button, the drop-down does not appear on the following PIT build:
 java version "awt.pit-awt-blade-2004-10-14-Thu-int.mustang"
Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-awt-blade-2004-10-14-Thu-int.mustang)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b07, mixed mode)

This is reproducible only on the PIT build, on solaris / linux with XToolkit. This is not reproducible on mustang - b08. This is not reproducible on win32.

I have attached a sample test. Execute the sample test. You would see a frame with 2 buttons. Click on the first button. A file dialog appear. Click on the button located to the right of first textfield that displays the path name. If the drop-down does not appear, then it is a bug.

I am not quite sure which bug fix has caused this regression. The only fix that is related to the file dialog is:
5097241: None of the comps in FileDlg receive keyevents on Solaris9 (CDE) with XToolkit
###@###.### 10/20/04 05:23 GMT

Comments
EVALUATION We have no 6.0b07 available and this is not reproducible with 6.0b04. Not sure that this is a regression of focus bug, so taking it to myself. ###@###.### 10/20/04 07:42 GMT This most likely has been caused by some X window creation changes. In the pit at Oct 14, the following fixes might be the cause: Fixed 5108694 : Remove special treatment of override-redirect window from XBaseWindow code. Fixed 5090325 : A window having another window as it's parent does not gain focus on XToolkit See also 6191341, which has minimal test case ###@###.### 2004-11-05 12:32:41 GMT
20-10-2004