UltimateDoomBuilder
UltimateDoomBuilder copied to clipboard
[Linux/Mono] Some events are not being received
Sometimes, events like the MouseMove or KeyUp/KeyDown are not being received, or if they are, they aren't being received by the right control.
This can cause the 2D view to "freeze" on highly detailed maps, such as Freedoom MAP28 or WolfenDoom C3M3_A, or it can cause the 3D view to stop responding to the user's key presses.
I don't know if this is a bug with UDB, or a bug with Mono WinForms, but the 2D view starts receiving MouseMove events after I take the cursor outside of the view, or I click one of the mouse buttons. However, if this happens in the 3D view, I have to kill UDB manually to get control of my mouse back.
I think the mouse stops responding when UDB starts loading another resource, like a sprite image or texture.
I wonder if this issue is related: https://github.com/mono/mono/issues/6573
Here's a video of what's happening for me:
https://user-images.githubusercontent.com/6550500/111076609-643adb00-84c3-11eb-8163-af831f16a112.mp4