Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6195928

REG: Fully functional FileDialog is not shown when security manager is installed, on win32

XMLWordPrintable

    • 2d
    • b15
    • x86
    • windows_xp
    • Verified

      I am printing a frame through AWT PrintJob. I have set the dialog type to Native and I have installed a Security Manager. I have given the following permissions though Policytool:

      RuntimePermission - QueuePrintJob
      RuntimePermission - SetSecurityManager
      FilePermission - ALL FILES - ALL PERMISSIONS

      I am running the application on WinXP on Tiger/Mustang. Native PrintDialog comes up. I am selecting PrintToFile checkbox and clicking 'OK'. On 1.4.2, a normal, fully functional file dialog appears. But on Tiger/ Mustang, only a textfield appears in the file dialog (similar to the file dialogs that were appearing on 1.3) thereby preventing the user from using other functionalities of the file dialog such as Dir creation, file rename, navigation through dirs etc. This is incorrect.

      This is reproducible only on WinXP, since Tiger. Not reproducible on 1.4.2.

      I have attached a sample test. Execute the sample test. Security Manager will be installed by default. Click on Native Dialog button. A native dialog would appear. Click on 'PrintToFile' option and click OK. If a dialog appears with a single textfield and a couple of buttons, the bug is reproduced.

      ###@###.### 2004-11-16 15:23:28 GMT

            jgodinez Jennifer Godinez (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: