-
Notifications
You must be signed in to change notification settings - Fork 30
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
[bug] isMaximized
with decorations: false
causes window freeze on macOS
#10
Comments
I tried
Yes, I skipped it when implementing svelte, because I didn't have much time. I'll do that, it's already on the todos list. https://github.com/agmmnn/tauri-controls/blob/master/TODOs.md#tauri-controlssvelte |
It should be setting |
I think this is the code part causing that problem on macos, it listens IsWindowMaximized (only in react and solid): tauri-controls/apps/tauri-controls/src/tauri-controls/contexts/plugin-window.tsx Lines 49 to 64 in ffc3998
but I don't get why it works fine on windows and linux and freezes on macos. |
https://github.com/agmmnn/tauri-controls/releases/tag/v0.1.2 |
There is the same issue in tauri repo, but no one give a solution. |
Ah thanks for the mention, I was wondering if this was a problem with the code or with the tauri itself (or https://github.com/tauri-apps/tauri-plugin-window). |
isMaximized
with decorations: false
causes window freeze on macOS
In react and solid, when setting
decorations
tofalse
intauri.config.json
, the program will crash. It only works well in svelte.but the toggle of fullscreen icon doesn't work in svelte, because only the variable is set, but never change.
The text was updated successfully, but these errors were encountered: