-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Remove most RedrawWindow to event target window #427
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I don't know if this has hidden side effects so lets keep an eye on this after it gets published.
Agree. I'll test more to see if I miss any other case |
I'll make some tests on tauri. |
LGTM after some basic tests. |
Might be unrelated but randomly got this error (it was a crash on startup) with tauri using this branch. Only happened once.
|
@AmionSky can you provide a minimal repro? Also it would be better to wait for the next tauri release which will include new version of tao and wry and will be released soon |
@amrbashir Only happened once when I ran |
It's still only happens rarely but had the same issue with the new tauri release
|
@AmionSky thanks for reporting, we will look into it |
Just got the same error I can't reproduce it but here is the stack trace.
|
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information
There are two places will call lots of
RedrawWindow
to event target window on Windows.This causes tauri-apps/wry#616
Do we really need to draw them despite it's always hidden?