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!
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!
- relates to
-
JDK-8114738 ImageView should call requestLayout when the image is changed / loaded
-
- Closed
-