On Fri, 17 May 2024 13:46:12 GMT, eduardsdv <d...@openjdk.org> wrote:
> > I'm only wondering if the code in `paintImpl` should always clear the dirty > > bits even if an exception occurs during painting, to harden it against > > potential bugs and not end up trying to repaint again and again likely > > getting the same exception again and again. > > Hm, that can indeed happen. On the other hand, if the dirty flag is reset > even in the case of an exception, parts of the UI may not be updated for a > long time until a node in that area receives a change. The question is which > of these two options is the least harmful. > > I'm fine with each of them. What do the others think? I'd probably lean towards addressing this in a follow-up issue, if there turns out to be a need. @arapte can you look at this when you review it? ------------- PR Comment: https://git.openjdk.org/jfx/pull/1451#issuecomment-2118837167