I have noticed that in some cases the action associated to double click happens after the second mousedown and not after the second mouseup(windows desktop for example). This may make the application open faster but a user cannot "cancel" the action by not performing the second mouse up. On a button for example you can cancel the click action by not performing the mouse up action. I dont know what happens in other operating systems but most applications i tested under windows work the same way as the windows desktop . Is this the proper way to implement it when developing a Dekstop application?
P.S I believe clicking an element means to press and release the mouse button on the same element, meaning that the click action is performed after the mouseup although i am confused since many actions labelled as click do not involve a mouseup on the same element and happen at the mousedown.
P.S 2 I dont care about mouseup,mousedown and click events and the order of firing since this depends on the platform. When talking about mouseup and mousedown i am just referring to the pressing and releasing action of the mouse button.