Skip to content

Cavrois fix for UI process order#1344

Open
AlexisCnockaert wants to merge 1 commit intopharo-spec:Pharo14from
AlexisCnockaert:Cavrois/UiProcessOredr
Open

Cavrois fix for UI process order#1344
AlexisCnockaert wants to merge 1 commit intopharo-spec:Pharo14from
AlexisCnockaert:Cavrois/UiProcessOredr

Conversation

@AlexisCnockaert
Copy link
Contributor

@AlexisCnockaert AlexisCnockaert commented Mar 2, 2026

I did an investigation and the applyWorldResize was looking at existing windows without waiting the UI process execution, meaning it was looking for iceberg windows (if present in a profile) despite Iceberg not being initialized. It could also break other thing, having race conditions or any other thing, so I fixed it using the UIManager defer: .

Fixes #19149

I did an investigation and the `applyWorldResize` was looking at existing windows without waiting the UI process execution, meaning it was looking for iceberg windows (if present in a profile) despite Iceberg not being initialized.
It could also break other thing, having race conditions or any other thing, so I fixed it using the UIManager defer: .

Fixes #19149
(Delay forMilliseconds: 2) wait ] ] forkAt:
Processor userBackgroundPriority.
self handleWindowDrag: aClient at: aClient position.
(Delay forMilliseconds: 2) wait ] ] forkAt: Processor userBackgroundPriority.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you ask pablo or guille because I'm nervous to have more processes around.
The defer: is good because it is in the UI cycle.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I will ask someone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants