You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For WSL users, the GUI window will receive the last keypress from previous run. i.e. after pressing q to close the GUI window such as a video output from cv2.imshow(), when the user runs a script again, cv2.waitKey(1) & 0xFF == ord("q") will be evaluated to True without the user pressing anything, causing the video output to end prematurely.
For WSL users, the GUI window will receive the last keypress from previous run. i.e. after pressing
q
to close the GUI window such as a video output fromcv2.imshow()
, when the user runs a script again,cv2.waitKey(1) & 0xFF == ord("q")
will be evaluated toTrue
without the user pressing anything, causing the video output to end prematurely.Same issue has been documented in microsoft/wslg#213
The text was updated successfully, but these errors were encountered: