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

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b15
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: