I have recently updated my ubuntu 16 to ubuntu 20.04. I use OpenCV(4.2.0) with Python(3.8.2).

Earlier on showing images using cv2.imshow() (in ubuntu 16), the image was shown and also the coordinates and RGB color values for the pixel where my mouse cursor was kept were also shown at the bottom of the image window but now after updating ubuntu, they are not shown.

Can somebody please help me with a solution to this?