-
Notifications
You must be signed in to change notification settings - Fork 194
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
[window-state] Does not work with custom titlebar (appWindow.close) #254
Comments
this is great to know, however we need to know about the results of |
Edited I was using pnpm as package manager,
|
pnpm will be fixed on the next Tauri release. |
Still facing this.
|
* feat(window-state): add js api, closes #254 * symlink tsconfig.json * update symlink * Update plugins/window-state/package.json Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de> * Update Cargo.toml * move to cmd.rs * Update plugins/window-state/guest-js/index.ts --------- Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
* feat(window-state): add js api, closes tauri-apps#254 * symlink tsconfig.json * update symlink * Update plugins/window-state/package.json Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de> * Update Cargo.toml * move to cmd.rs * Update plugins/window-state/guest-js/index.ts --------- Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
When I close the app with
appWindow.close
and reopen the app, the window position is not preserved.It seems that closing app with
appWindow.close
does not trigger aCloseRequested
event, so the state is not read.If I close the window with system titlebar and reopen the app, the window position is preserved. So I can confirm it's about
appWindow.close
.The text was updated successfully, but these errors were encountered: