Bug on the "or" in "condition" in "if... then. else"?

In a scene that handles the click on 2 buttons (click 3 positions: single, double and long), in the « if… then. else » condition I have 2 conditions with an « OR » but in fact the behavior is that of the « AND »! To know the buttons keep the last position: if button 1 just sent a single click but button 2 remained on the last state (for example double click), the « then » does not execute, which does not correspond to the « OR » but to an « AND »