tauri-apps / tauri-apps/plugins-workspace
window-state: The tauri-plugin-window-state plugin has a problem where it cannot restore the original window size when exiting full screen
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
### Describe the bug
## 1.Exiting full screen can restore the window size to its original state before going full screen
Window size A ----> Full screen -----> Exit full screen ----> Restore to window size A
## 2.Unable to restore the window size to its original state after exiting full-screen mode
Window size A ----> Full screen -----> Exit application ----> Open application -----> Restore to full screen -----> Exit full screen -----> Unable to restore window size A
## 3.How can I make 2 return to its window size A when exiting full screen
### Reproduction
_No response_
### Expected behavior
_No response_
### Full `tauri info` output
```text
[✘] Environment
- OS: Mac OS 15.7.3 x86_64 (X64)
✔ rustc: 1.90.0 (1159e78c4 2025-09-14)
✔ cargo: 1.90.0 (840b83a10 2025-07-30)
✔ rustup: 1.28.2 (2025-04-28)
✔ Rust toolchain: stable-x86_64-apple-darwin (default)
- node: 20.19.6
- pnpm: 10.28.0
- yarn: 1.22.22
- npm: 10.8.2
[-] Packages
- tauri 🦀: 2.9.5
- tauri-build 🦀: 2.5.3
- wry 🦀: 0.53.5, (outdated, latest: 0.54.0)
- tao 🦀: 0.34.5
- @tauri-apps/api ⱼₛ: 2.9.1
- @tauri-apps/cli ⱼₛ: 2.9.6
```
### Stack trace
```text
```
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.