Important: Please read the Qt Code of Conduct -

Event Filter receiving unexpected mouse move events

  • My Application:
    2 windows: 1 full screen window that is always being shown while application is running. 1 popup window that will show and hide.

    The full screen window has an event filter installed on it to watch mouse events.

    The problem:
    If the mouse cursor's position in within the popup windows boundaries and the popup window is shown or hidden the full screen window receives mouse move events. The problem is I have no way to know if the event is due to the mouse actually being moved or the special case just described. Does anyone know how to tell the difference between these events.

  • Did you use QWidget::grabMouse() on your fullscreen window at some point ?

  • This post is deleted!

Log in to reply