-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[bug] Inconsistent behavior of Monitor::from_point across platforms #12676
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
Labels
Comments
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
The x and y values passed to from_point are now treated as physical and therefore converted to logical values on macOS. This makes the behavior consistent with the Windows implementation. Closes tauri-apps/tauri#12676.
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
The x and y values passed to from_point are now treated as physical and therefore converted to logical values on macOS. This makes the behavior consistent with the Windows implementation. Closes tauri-apps/tauri#12676.
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
The x and y values passed to from_point are now treated as physical and therefore converted to logical values on macOS. This makes the behavior consistent with the Windows implementation. Closes tauri-apps/tauri#12676.
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 10, 2025
The x and y values passed to from_point are now treated as physical and therefore converted to logical values on macOS. This makes the behavior consistent with the Windows implementation. Closes tauri-apps/tauri#12676.
dgerhardt
added a commit
to dgerhardt/tao
that referenced
this issue
Feb 27, 2025
The x and y values passed to from_point are now treated as physical and therefore converted to logical values on macOS. This makes the behavior consistent with the Windows implementation. Closes tauri-apps/tauri#12676.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
Monitor::from_point
treatsx
andy
values as physical on Windows while on macOS the values are treated as logical. Currently, the method cannot be reliably be used across platforms without checking for the platform and converting the values conditionally. The documentation does not specify if the values passed should be physical or logical, so it is unclear which of both behaviors is the correct one.Reproduction
Expected behavior
Monitor::from_point
should treat passedx
andy
values the same way across platforms.Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: