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

Maximizing window does not trigger change listener

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Windows 7, JDK 7, JavaFX 2.2 b11

      Description

      When the window of the attached prrogrom is resized the graphics is adjusted
      to always fill the whole drawing area. This is triggered
      by a change listener on the graphicsPane. This seems to
      work nicely when I adjust the window size manually with the
      mouse. But if I hit the maximize button in the upper right
      corner of the window this does not seem to trigger the
      change listener, which I do not understand. (This works
      if I attach the listener to the drawingPane instead.)
      Even worse, when I hit the button again to go back to
      the original size, the application dies with a StackOverflowError.
      See attached file 'rsize_exception.txt'.

        Attachments

          Activity

            People

            • Assignee:
              kcr Kevin Rushforth
              Reporter:
              dpausjfx Dr. Michael Paus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: