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

Non-resizable dialogs are resizable through 'size' option on the menu, Win32

XMLWordPrintable

    • b04
    • x86
    • windows_xp, windows_7
    • Verified

        I am showing a frame and a child dialog. Both of them are non-resizable (set with setResizable(false)). But when the dialog is shown, press ALT+SPACE BAR (on Win32). You will see Dialog's menu appearing from the title bar. There I am seeing the 'Size' option and using that, I am able to resize the dialog to any size. This is incorrect. The size option must be disabled when the dialog is non-resizable.

        This is reproducible with Mustang only on Win32 and not on XToolkit. This is not reproducible on Tiger where I can see only Move and Close options in the menu. This started appearing from b40 where all modality changes were integrated. Not reproducible on Mustang-b36. Hence this is a regression introduced in Mustang.

        I have attached a sample test which would open up a Frame and a Dialog. Press ALT+SPACE BAR. Select Size option from the menu and try resizing the dialog. If it resizes, the bug is reproduced.

              anthony Anthony Petrov (Inactive)
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: