-
-
Notifications
You must be signed in to change notification settings - Fork 203
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 Resizing Bug When Moving Between Monitors with Different Scaling #1053
Labels
Comments
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
Adjustments to the OS-suggested position are now only applied on Windows 10. They are not needed anymore on Windows 11. Fixes tauri-apps#1053, tauri-apps/tauri#10263, tauri-apps/tauri#12626.
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
Adjustments to the OS-suggested position are now only applied on Windows 10. They are not needed anymore on Windows 11. Fixes tauri-apps#1053, tauri-apps/tauri#10263, tauri-apps/tauri#12626.
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
Adjustments to the OS-suggested position are now only applied on Windows 10. They are not needed anymore on Windows 11. Fixes tauri-apps#1053, tauri-apps/tauri#10263, tauri-apps/tauri#12626.
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
Adjustments to the OS-suggested position are now only applied on Windows 10. They are not needed anymore on Windows 11. Fixes tauri-apps#1053, tauri-apps/tauri#10263, tauri-apps/tauri#12626.
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When moving the window between monitors with different scaling settings causes the window’s size to become erratic. The window appears to resize incorrectly, making it difficult to move or position properly. Notably, dragging the window by its right half seems to offer slightly more stability, but this is not a reliable workaround.
Steps To Reproduce
window
example directly (do not use Tauri).Expected behavior
The window should either maintain its size or adjust appropriately when transitioning between monitors with different scaling settings. There should be no erratic resizing behavior during the move.
Screenshots
A video demonstrating the issue is attached:
2025-02-08.21-07-41.mp4
Platform and Versions (please complete the following information):
Additional context
I have observed this bug across various Tauri-based apps and believe it is rooted in Tao’s window management implementation. The issue persists in both Tauri 1.0 and 2.0 environments. I attempted to investigate the underlying cause, but the mechanism seems more complex than initially expected. Any insights or potential workarounds would be greatly appreciated. Additionally, I found a couple of related issues, but neither appears to be actively tracked:
different scaling
settings, the window cannot switch correctly between monitors tauri#10263outer_position
andset_outer_position
may work unexpectedly with multiple monitors in different DPI #816I couldn't find an existing issue in Tao's repository that directly addresses this bug, so I created this one. However, if this is a duplicate, please feel free to close it.
The text was updated successfully, but these errors were encountered: