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

REG: Showing and disposing a native print dialog makes the main frame inactive, Win32

    XMLWordPrintable

Details

    • b53
    • 6
    • b71
    • x86
    • windows_xp
    • Verified

    Description

      I have a frame with few buttons on it. On clicking one of the buttons, I am bringing up the native print dialog. Once the dialog is shown, I am pressing 'ESC' and the dialog is disposed. After that, the frame becomes inactive and focus does not come back to the same component automatically. I would expect the frame to be active and focus should remain with the same component which brought up the dialog.

      This is a regression in Mustang introduced in b53. This is reproducible only on Win32 and not on XToolkit. It works fine on Tiger-FCS and Mustang-b51.

      Run the attached application. Press the button. A native print dialog will come up. Press 'ESC'. Check the main frame. If it is not active, the bug is reproduced.

      Attachments

        Issue Links

          Activity

            People

              dcherepanov Dmitry Cherepanov
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: