ImageView: changing image pixels should not result in re-layout

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx25
    • Component/s: javafx
    • None

      Comes out of discussion in this PR:
      https://github.com/openjdk/jfx/pull/1969#issuecomment-3539473278

      Changing pixels in an image in ImageView should not result in re-layout, as the image did not change its dimensions. At the same time, changing of the actual image instance should.

      To reproduce, launch the attached example and observe the following stdout:
      writing pixels
      requestLayout
      writing pixels
      requestLayout

      NOTE:
      watch out for regression!

            Assignee:
            Andy Goryachev
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: