Skip to content

Highgui mouse callback isn't executed for wheel scroll events in Ubuntu 21.10 #21289

@samikha

Description

@samikha
System information (version)
  • OpenCV => 4.5.3
  • Operating System / Platform => Ubuntu 21.10
  • Compiler => GCC 11.2.0
Detailed description

After upgrading to Ubuntu 21.10 (from Ubuntu 21.04, which includes an OpenCV upgrade too) the mouse event callback function is not called anymore when the wheel is scrolled. Ubuntu or OpenCV issue?

Steps to reproduce
static void onMouse( int event, int x, int y, int flags, void* callbackData)
{
cout << "Event " << event << " x " << x << " y " << y << endl;
}
:
in main():
:
setMouseCallback(windowName, onMouse, zoomRect);
:
Issue submission checklist
  • [ X] I report the issue, it's not a question

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions