Replies: 1 comment 3 replies
-
I don't fully understand the details of the implementation, but the rationale for the current behaviour is given in this comment. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
We're seeing what looks like a bug in winit on windows (slint-ui/slint#418). Before I file a ticket I thought I'd ask here first to get a better understanding how the winit internals, in hope of creating a standalone test case or perhaps even a patch.
On a high-level the issue we're seeing is that sometimes when we issue a
window.request_redraw()
call, the correspondingEvents::RedrawRequested
is never sent to the event loop callback in the application.I noticed that the call to
winuser::RedrawWindow()
succeeds (returns true). The correspondingWM_PAINT
however is only received bythread_event_target_callback
, not bypublic_window_callback
. AFAICS only the latter dispatchesEvents::RedrawRequested
.I'm curious, what is the distinction between the two window procedures?
Beta Was this translation helpful? Give feedback.
All reactions