Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-30 Thread Marius Hanl
Unnecessary layouts; TLDR; new method "requestLocalLayout" I've been writing a container that does layout, and I've been using itextensively in my latest project.I noticed that many skins and controls will call requestLayout(), notrealizing that this will mark the current n

Re: [External] : Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-23 Thread John Hendrikx
enjdk.org/browse/JDK-8089992 > >   > > -andy > >   > >   > > *From: *John Hendrikx > *Date: *Wednesday, April 16, 2025 at 16:13 > *To: *Nir Lisker , Andy Goryachev > > *Cc: *openjfx-dev@openjdk.org > *Subject: *[External] : Re: Unnecessary layouts; T

Re: [External] : Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-23 Thread Andy Goryachev
Possibly related: https://bugs.openjdk.org/browse/JDK-8089992 -andy From: John Hendrikx Date: Wednesday, April 16, 2025 at 16:13 To: Nir Lisker , Andy Goryachev Cc: openjfx-dev@openjdk.org Subject: [External] : Re: Unnecessary layouts; TLDR; new method "requestLocalLayout" I t

Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-17 Thread John Hendrikx
  > > -andy > >   > >   > >   > > *From: *openjfx-dev on behalf of > John Hendrikx > *Date: *Monday, April 14, 2025 at 08:56 > *To: *openjfx-dev@openjdk.org > *Subject: *Unnecessary layouts; TLDR; new method "req

Re: [External] : Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-17 Thread Andy Goryachev
Subject: [External] : Re: Unnecessary layouts; TLDR; new method "requestLocalLayout" I tested this with several controls that were triggering layouts (like on cursor movements), and I saw no adverse effects. Basically, any time you interact with a control and it triggers a full la

Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-16 Thread Nir Lisker
t; > > > > > > > *From: *openjfx-dev on behalf of John > Hendrikx > *Date: *Monday, April 14, 2025 at 08:56 > *To: *openjfx-dev@openjdk.org > *Subject: *Unnecessary layouts; TLDR; new method "requestLocalLayout" > > I've been writing a container

Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-16 Thread Andy Goryachev
stion of naming the method requestLayoutChildren()) -andy From: openjfx-dev on behalf of John Hendrikx Date: Monday, April 14, 2025 at 08:56 To: openjfx-dev@openjdk.org Subject: Unnecessary layouts; TLDR; new method "requestLocalLayout" I've been writing a container that does l

Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-16 Thread Kevin Rushforth
Yes, this does seem useful. -- Kevin On 4/16/2025 1:36 AM, Michael Strauß wrote: This sounds like a useful addition. Maybe it should be named requestLayoutChildren() to indicate what will be happening.

Re: Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-16 Thread Michael Strauß
This sounds like a useful addition. Maybe it should be named requestLayoutChildren() to indicate what will be happening.

Unnecessary layouts; TLDR; new method "requestLocalLayout"

2025-04-14 Thread John Hendrikx
I've been writing a container that does layout, and I've been using it extensively in my latest project. I noticed that many skins and controls will call requestLayout(), not realizing that this will mark the current node + all parent nodes with `NEEDS_LAYOUT`.  This causes all those containers to