Strange IDE events

  1. 3 months ago

    Dave S

    Jun 8 San Diego, California USA

    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.

    This has occurred in both 2018 and 2019 (macOS)

  2. Greg O

    Jun 8 Xojo Inc

    I’ve seen things like this when there’s been dirt in my keyboard.

  3. Dave S

    Jun 8 San Diego, California USA

    except this is happening just with mouse events.. .not even touching the keyboard :(

  4. Tim P

    Jun 8 Pre-Release Testers Rochester, NY

    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.

  5. Dave S

    Jun 8 San Diego, California USA

    Even it that were the case.... how does that explain the "Add Events" window? Since the only way I know is to actively select it from the dropdown...?

  6. Jason K

    Jun 8 Pre-Release Testers

    Or double click on the control?

  7. Gavin S

    Jun 8 Pre-Release Testers UK

    @Dave S Has anyone else experienced this?)

    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.

  8. Tim P

    Jun 8 Pre-Release Testers Rochester, NY
    Edited 3 months ago

    @Dave S Even it that were the case.... how does that explain the "Add Events" window? Since the only way I know is to actively select it from the dropdown...?

    If you double click on a control with no event handlers implemented, the Add Event Handler sheet will be shown for convenience.

    Bad mouse wires can cause clicks when you don't expect them if the interrupts are timed right.

  9. Dave S

    Jun 8 San Diego, California USA

    @Jason K Or double click on the control?

    learn something new every day (or perhaps remember something previously forgotten)

  10. Andre K

    Jun 8 Pre-Release Testers

    @Dave S perhaps remember something previously forgotten

    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! ;)

  11. jim m

    Jun 8 Pre-Release Testers, Xojo Pro piDog.com

    @Dave S I was moving controls around in a window, and all of a sudden the ADD EVENTS window opened..

    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.

    No idea about the window resizing thing though.

  12. Dave S

    Jun 8 San Diego, California USA

    @Andre K 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! ;)

    Yeah..... I will go with that story... :)

  13. jim m

    Jun 8 Pre-Release Testers, Xojo Pro piDog.com

    @jim m So if there's a lag in the selecting of controls, double-click is fired incorrectly on a second click.

    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?

  14. Mark S

    Jun 8 Pre-Release Testers, Xojo Pro, XDC Speakers

    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.

  15. Alberto D

    Jun 10 Pre-Release Testers

    @jim m 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?

    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.

  16. Dave S

    Jun 10 San Diego, California USA

    well I just ordered a couple of new wired mouse (mouses? mice?) and we will see if that changes anything

  17. jim m

    Jun 10 Pre-Release Testers, Xojo Pro piDog.com

    @Alberto D;Poo How can you test that?

    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.

    @Alberto D;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.

    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.

  18. Wayne G

    Jun 11 Pre-Release Testers, Xojo Pro New Zealand axisdirect.nz

    @Dave S wired

    I haven't used a wired mouse in years (or keyboard for that matter). I do find they don't like a sip of coffee though :)

or Sign Up to reply!