gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Slow forward views block other forward views

Open chisandrei opened this issue 6 months ago • 2 comments

A forward view that delegates to another view where computing the content is slow, blocks other phlow views from rendering.

Here Object>>#gtDummyViewForwardFor: delegates to Object>>#gtDummyViewFor: which has a slow items block.

Image

While Object>>#gtDummyViewForwardFor: is rendering all other forward views are blocked.

Image

chisandrei avatar Aug 22 '25 09:08 chisandrei

Curious about these type of scenarios. If view creation becomes a bit more async, could there be a scenario where a slow computing view eventually returns an empty view so that it needs to get removed from the views list?

botwhytho avatar Aug 22 '25 14:08 botwhytho

Probably. We definitely need to make the addition of views in the inspector lazy.

girba avatar Aug 28 '25 09:08 girba