Skip to content

Conversation

@m-sasha
Copy link
Member

@m-sasha m-sasha commented Oct 13, 2025

Update to skiko 0.9.30

See related changes in skiko.

Fixes https://youtrack.jetbrains.com/issue/CMP-8956

Release Notes

Fixes - Desktop

  • Fix background flashing when showing a window/dialog.

@m-sasha m-sasha requested a review from MatkovIvan October 13, 2025 11:36
/**
* Renders the dialog's content synchronously.
*/
fun renderImmediately() {
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need it as public API here?

Copy link
Member Author

Choose a reason for hiding this comment

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

It can be internal, but maybe we should allow someone using ComposeWindow/ComposeDialog directly the same abilities we have internally.

I will add more documentation and mark it experimental.

/**
* Renders the dialog's content synchronously.
*/
fun renderImmediately() {
Copy link
Member

Choose a reason for hiding this comment

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

Are we ready to support backward compatibility in this shape?

Copy link
Member Author

Choose a reason for hiding this comment

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

I made these functions experimental.

}

/**
* Renders the dialog's content synchronously.
Copy link
Member

Choose a reason for hiding this comment

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

As for public documentation, it's not clear in what case it should be used

Copy link
Member Author

Choose a reason for hiding this comment

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

Expanded the documentation.

@MatkovIvan
Copy link
Member

Please add second reviewer for public API and update release notes

@m-sasha m-sasha requested a review from kropp October 13, 2025 12:59
@m-sasha
Copy link
Member Author

m-sasha commented Oct 13, 2025

Adding Victor as reviewer, as this adds a new public API

@m-sasha m-sasha merged commit 7b109e4 into jb-main Oct 13, 2025
33 of 38 checks passed
@m-sasha m-sasha deleted the m-sasha/skiko-0.9.30 branch October 13, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants