Has anyone else experienced this?
I was moving controls around in a window, and all of a sudden the ADD EVENTS window opened… I was just dragging a control.
other times I have had the entire IDE suddenly shrink to minimum window size.
Failing mouse cables can send weird click signals. Usually an interrupt “lets go” while dragging. I wouldn’t rule out additional clicks causing the Event Handler sheet to open.
It doesn’t really help you, but to answer your question: no, I’ve never ever seen this, using RB/RS/Xojo since 1998 from Mac OS 8.1 to macOS Catalina, 12+ hours a day.
No,no, that’s a mistake. You are just as i getting to an age that you gathered so much wisdom and knowledge that it takes a little longer to get at the wanted subject! That’s all!
Maybe you clicked to select, then clicked to drag too quickly.
It has seemed like Xojo’s double-click fires differently from the rest of the OS. Maybe the second click is timed from after the selection is complete(click handler end) rather than from when the actual click occurred(click handler begin). So if there’s a lag in the selecting of controls, double-click is fired incorrectly on a second click.
I’ve developed a habit of click… wait… wait… then click again when working in Xojo.
I just did some testing and it seems like this is no longer the case, but…
The double-click is registered even if you’ve begun to drag… it seems like the double-click should only fire on mouse up of the second click… Right? A click-then click-drag shouldn’t be considered a double click should it?
I have recently had an external trackpad used with my MacBook Air go bad and cause lots of “stray” clicks and moves, sometimes without touching the trackpad. I could turn off the trackpad and back no or reboot and the problem would go away for a little while. Finally I took the batteries out of the trackpad and started using the built in trackpad and the problem never resurfaced. A new trackpad does not have the same problem.
[quote=440659:@jim mckay]I just did some testing and it seems like this is no longer the case, but…
The double-click is registered even if you’ve begun to drag… it seems like the double-click should only fire on mouse up of the second click… Right? A click-then click-drag shouldn’t be considered a double click should it?[/quote]
How can you test that?
I used Notes and Calendar to double click but keep the second click down and the second click activated even if I didn’t release the button. Maybe I need another app that have click-drag to test the behavior.
[quote=440930:@Alberto De Poo]How can you test that?
[/quote]
I wrote a little app that checked the mouse in a fast timer and compared with the double-click time reported by NSEvent. Xojo correctly responed to double-clicks regardless of the selection lag.
[quote=440930:@Alberto De Poo]I used Notes and Calendar to double click but keep the second click down and the second click activated even if I didn’t release the button. Maybe I need another app that have click-drag to test the behavior.
[/quote]
I suppose there’s no universal rule, but for example, double click a folder in Finder and drag on the second click instead of releasing. It doesn’t open the folder, it does a multi-select drag for me. It’s just more of a “what I’d expect” rather than right or wrong behavior.