Nominate our 2022 Qt Champions!

QMenu blocks mouse events

  • Hi,
    I'm displaying a few widgets where right click is defined to open a QMenu.
    The problem is that once the menu is displayed, right click in the other widgets doesn't work till the QMenu is closed or any option is selected.
    Any ideas about how to let the mouse events (at least the right click event) reach the other widgets?

    Thanks in advance

  • @m_jero I don't know why nobody answers this question. Maybe because you didn't supply any code snippets as recommended. Anyway, I suppose you used the exec() function to show the qmenu. Try to use popup() instead and see if it works.