Hello, I am working on a professional project which will be used to present products on terminals during various events, and I am encountering a problem, when my .exe application is launched, I sometimes have to press a button twice for it to work , and sometimes it works by clicking only once, I nevertheless configured my buttons in the same way, I will show you an example;
I noticed with the print string that when I press my button (on a touch screen) the 2 actions “play” and “pause” are displayed simultaneously, which in this example therefore cancels the play action, however I can’t find how to fix this, I tried replacing Onclicked with Onpressed, but no difference
Hi,
I feel like this is a dirty fix : you can add a “Do Once” node before your “Flip Flop” node that you reset only after calling your “switch variant by name”.
However I’m still not sure it will fix your problem
This works once or twice but when I repeat the operation, the problem returns and the two actions of the variant switch are called at the same time, it’s a bit like display and hide were called at the same time, no modification on my screen
I don’t really know what “Switch on Variant by Name” is using for so I don’t know for this part but it’s weird.
You said that you were using touch screen, maybe it is because of the time the button is pressed by your finger. In that case you can try to play around with the Touch Method setting in your designer