Page MenuHome

Mouse input ignored after right-click outside of context menu with a single entry
Closed, ResolvedPublic

Description

System Information
Operating system: Ubuntu 19.04
(All other operating systems are affected as well)

Blender Version
Broken: 2.81, 892c3891ed0b (2019-10-24 19:00)

Short description of error
When opening a Context Menu and accessing a submenu, it's possible to position the mouse cursor outside of the menu while keeping the parent entry in the context menu highlighted. Right-clicking with the mouse cursor in that position will make Blender ignore all further mouse input until the mouse cursor moves over other entries in the Context Menu. If the Context Menu only contains a single item, for instance in the empty areas of properties panel, then all mouse input is ignored until a shortcut is pressed.

Exact steps for others to reproduce the error

  1. Move cursor to a blank space in the Properties panel.
  2. Right click to open the Context Menu.
  3. Move the mouse cursor slightly below the Context Menu so that the Area menu entry is still being highlighted but the mouse cursor is not on the Context Menu anymore.
  4. Right click again.

Demo:

Revisions and Commits

Event Timeline

Firepal64 renamed this task from "Context Menu" pop-up can incapacitate the cursor from interacting with Blender to "Context Menu" pop-up if spammed can incapacitate the cursor from interacting with Blender.Nov 2 2019, 5:57 PM
Firepal64 created this task.

Something weird comes from vm handlers when the bug occur. In vm event handlers when right clicking on a property section, seems that it's the WM_HANDLER_TYPE_KEYMAP flag which is used normally. But when the bug is occurring, then if you start to right click again, it's the WM_HANDLER_TYPE_UI flag which is used. Don't know if it's normal ?

Also I'm on a osx and the only way to unblock the program when it's happening, is to slide with the touchpad.

Robert Guetzkow (rjg) lowered the priority of this task from 90 to Low.Nov 30 2019, 8:07 PM
Robert Guetzkow (rjg) updated the task description. (Show Details)
Robert Guetzkow (rjg) renamed this task from "Context Menu" pop-up if spammed can incapacitate the cursor from interacting with Blender to Mouse input ignored after right-click outside of context menu with a single entry.Dec 1 2019, 12:46 AM

Hello everyone, I have something to propose:

https://developer.blender.org/D6508