Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when setting window height on macOS Sonoma #3559

Closed
ales-tsurko opened this issue Sep 27, 2023 · 3 comments · Fixed by #3564
Closed

Issue when setting window height on macOS Sonoma #3559

ales-tsurko opened this issue Sep 27, 2023 · 3 comments · Fixed by #3564

Comments

@ales-tsurko
Copy link

The issue happens when I run the project using slint-viewer. Previously it worked, but now the window looks weird, I can't move it and it's shaking. Also, there is an error:

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
@ales-tsurko
Copy link
Author

ales-tsurko commented Sep 27, 2023

Looks like it's actually at least two issues. The first one (the weird shaking window) happens when you set height to the window. Will let you know in case I figure out the "UNSUPPORTED" issue.

UPD

Looks like it's actually at least two issues.

The warning/error disappear when I remove window's height setting.

@ales-tsurko
Copy link
Author

Probably related to rust-windowing/winit#2876 Setting no-frame: true prevents the issue to happen. It was fixed by.

@ales-tsurko ales-tsurko changed the title Issue after update to macOS Sonoma Issue when setting window height on macOS Sonoma Sep 27, 2023
ogoffart added a commit that referenced this issue Sep 28, 2023
The new version of winit fixes an important bug for macOS Sonoma,
and the bugvix for the workaround won't happen before winit 0.29.
The branch that port to winit 0.29 already removed the workaround

Fixes #3559
@ogoffart
Copy link
Member

Thanks for reporting the bug.
Seems like it is fixed in the jewt-released version of winit.
Unfortunately, we are pinning the winit version because we had a workaround for a bug that we thought would be fixed in the 0.28.x series. But since this is not likely to be the case, i'm unpinning it in #3564

ogoffart added a commit that referenced this issue Sep 28, 2023
The new version of winit fixes an important bug for macOS Sonoma,
and the bugvix for the workaround won't happen before winit 0.29.
The branch that port to winit 0.29 already removed the workaround

Fixes #3559
ogoffart added a commit that referenced this issue Sep 29, 2023
The new version of winit fixes an important bug for macOS Sonoma,
and the bugvix for the workaround won't happen before winit 0.29.
The branch that port to winit 0.29 already removed the workaround

Fixes #3559

(cherry picked from commit 89c269e)
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 a pull request may close this issue.

2 participants