-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[bug] Broken handling of windows when moving them between screens with different scaling #12626
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
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 27, 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.
fixed by tauri-apps/tao#1056 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Describe the bug
When moving a window from a HiDPI screen to a standard/lower DPI screen on Windows 11, the logical size of the window increases. When moving it from the HighDPI screen to the standard/lower DPI screen, the logical size reduces. There are additional side effects like the window jumping away from the cursor. This can quickly get out of hand and lead to an extremely large window which makes the Webview unresponsive.
If resizing is disabled for the window, the user has no way to reset the size.
The following video demonstrates the issue. It only shows the primary, HiDPI screen.
2025-02-05-124637_tauri-onscalechange-bug-windows.mp4
Reproduction
Expected behavior
Windows should keep their logical size when moving them between screens with different scaling. Only the physical size should change.
Full
tauri info
outputStack trace
Additional context
Log of relevant window events of the application run during the video:
The text was updated successfully, but these errors were encountered: