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

Maximizing window does not trigger change listener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Windows 7, JDK 7, JavaFX 2.2 b11

      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'.

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

              Created:
              Updated:
              Resolved:
              Imported: