Modal Operator Bug Causing False MOUSEMOVE Event?

Hey guys,

I was wondering if someone could test this out and see if they’re getting the same thing.

Open the System Console.

Now open the text editor and load up the template:

Add print(event.type) on line 14


Then remove the test call on lines 50/51

Now go to the 3D View and do an operator search (press the x key), type in Simple Modal Operator, and hit Enter.

You should have not touched the mouse at all, only the keyboard.

This is what prints out in the console:


Having not touched the mouse at all the modal operator is automatically registering a mousemove event that never happened.

This seems like a bug. If it’s not can anyone explain what’s happening? I never noticed this in 2.79 but I could be wrong.