-
-
Notifications
You must be signed in to change notification settings - Fork 175
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] appWindow.unminize() does not respect maximized window #622
Comments
https://devblogs.microsoft.com/oldnewthing/20040707-00/?p=38523
|
Also @amrbashir ,
This may be useful for the tauri-plugin-window-state |
finally found the bug, |
Sorry for the late reply, I spent yesterday debugging another project of mine. I put this in my tao = { git = "https://github.com/tauri-apps/tao", branch = "dev" }
appWindow.unminimize().then(() => appWindow.setFocus(true)); |
did you run |
try [patch.crates-io]
tao = { git = "https://github.com/tauri-apps/tao", branch = "dev" } |
Yeah that's what I'm trying now |
It works! 🎉 |
Can we expect this change to come into Tauri in like a month? |
roughly yeah |
Describe the bug
When using unminize on a maximized window that is minimized, the window is restore to the maximized size but is not actually maximized as indicated by the square icon in the top right of the window on Windows.
Reproduction
window.__TAURI__.unminimize()
Expected behavior
The window should restore as maximized not resized to the max size
Platform and versions
Stack trace
No response
Additional context
isMaximized returns false if a maximized window is minimzed :(
The text was updated successfully, but these errors were encountered: