-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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] window.cursorPosition
errors in v2
#10340
Labels
Comments
bicarlsen
added
status: needs triage
This issue needs to triage, applied to new issues
type: bug
labels
Jul 21, 2024
@FabianLars I also tested on Windows and |
Do you still have the full error from the Windows test? I doubt it's exactly the same since we don't use GDK on Windows so it'd be interesting to see where it panics. |
Oops, it appears it is working on Windows now. I must have messed something up when testing the first time. Sorry about that. |
amrbashir
added a commit
that referenced
this issue
Oct 17, 2024
lucasfernog
added a commit
that referenced
this issue
Oct 22, 2024
* fix(runtime-wry): run `cursor_position` getter on main thread closes #10340 * clippy * clippy --------- Co-authored-by: Lucas Nogueira <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
In v2 when calling
__TAURI__.window.cursorPosition()
I receive the errorGDK may only be used from the main thread
on the backend.Reproduction
From a Tauri v2 app, in the console run
__TAURI__.window.cursorPosition()
.Expected behavior
Cursor position should be returned.
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: