Open allenli178 opened 10 months ago
In react and solid, when setting decorations to true in tauri.config.json, the program will crash. It only works well in svelte.
I tried "decorations": true
, and it works well on Windows 11, what is your system specs?
but the toggle of fullscreen icon doesn't work in svelte, because only the variable is set, but never change.
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 decorations
to false
.
I tried it on macos m2, but the app would broken.
I think this is the code part causing that problem on macos, it listens IsWindowMaximized (only in react and solid):
but I don't get why it works fine on windows and linux and freezes on macos.
isWindowMaximized
is disabled temporarily in macOS until find another solution.
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. ottosson/tauri/
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).
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.