Skip to content
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] On Windows, window-state applies position, but not size #2258

Closed
SpikeHD opened this issue Jan 3, 2025 · 1 comment
Closed

[bug] On Windows, window-state applies position, but not size #2258

SpikeHD opened this issue Jan 3, 2025 · 1 comment
Labels
bug Something isn't working plugin: window-state status: upstream This issue needs to be fixed in an upstream project

Comments

@SpikeHD
Copy link

SpikeHD commented Jan 3, 2025

On tauri v2.2.0 and tauri-plugin-window-state v2.2.0, the window will write the size AND position to the window state file just fine, but only the position will be re-applied when the application is started again.

2025-01-03.09-49-27.mp4

I believe this was reported in tauri-apps/tauri#11740, and was supposedly fixed in tauri-apps/tao#1017, but this doesn't seem to have helped. The tao PR was merged and included with 0.31.0 which is what tauri uses as of v2.2.0.

My window is undecorated and uses window shadows (which I recall being part of the original issue). As far as I know this only happens on Windows (I've tested on Win10 22H2).

@FabianLars FabianLars added bug Something isn't working status: upstream This issue needs to be fixed in an upstream project plugin: window-state labels Jan 3, 2025
@FabianLars
Copy link
Member

closing in favor of tauri-apps/tauri#12168

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin: window-state status: upstream This issue needs to be fixed in an upstream project
Projects
None yet
Development

No branches or pull requests

2 participants