tauri-apps / tauri-apps/plugins-workspace
[window-state] The position looks odd when switching screens with various screen sizes
Open
plugin: window-state
type: bug
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
The window-state plugin saves the position as an absolute one.
Given this usecase:
* I have my macbook connected to external (large 5K) screen.
* **Center the app**, window state gets saved
* Disconnect large screen and switch to integrated small screen
* Open up the app, state is restored
* **The app is in the bottom right corner**
This also works the other way around. Centering on small screen moves the app to top left corner on large screen.
This not only looks odd, but also is a bad UX. Wouldn't it be better to have it as a relative screen position?
Contributor guide
Assessment
This issue has not been assessed yet.