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

[macosx] Frame has minimal possible size with default layout and setSize()d child

XMLWordPrintable

    • x86
    • os_x

        Mac OS X macmini4,1
        Run a regression test closed/java/awt/BasicStroke/DashZeroWidth.java
        There, a Frame has a default layout without size set, and a Canvas is added which has no max/min/preferred size defined but just setSize(200,40).

        With b224, it is displayed properly, 200x40+decorations size, and always pass (AFAIK). With b226, however, it has a minimal possible width (a few pixels) and height of decorations thus being virtually invisible. In this situation, the test fails more often than not.

        Now, should it be fixed? If yes, it's a regression and priority should be bigger; if no, let's discuss specifications.

              anthony Anthony Petrov (Inactive)
              yan Yuri Nesterenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: