Clicking and holding a button and unclicking outside it causes the button to be pressed

Added by Rodrigo Piovezan over 3 years ago

Sorry if I didn't search enough for an explanation or if my description is not clear.

Clicking and holding the left mouse button on a GUI button and moving the mouse outside it and releasing the button causes the GUI button's action to take place (i.e. the button is considered pressed). See for example the close (X) or stop playback buttons.

The correct behavior should be that the GUI button is not considered pressed until the mouse is unclicked inside its area.

I'm using Linux Mint 18.3 with kernel version 4.15.0-32-generic.