Page 2 of 2

Re: WaitLeftMouse takes 4 seconds to react on m68k

Posted: Tue Jan 08, 2019 7:53 pm
by asrael
OK, can you elaborate a bit on how the this function works in lower levels?


Manfred

Re: WaitLeftMouse takes 4 seconds to react on m68k

Posted: Tue Jan 08, 2019 8:32 pm
by airsoftsoftwair
It just waits for intui messages, namely IDCMP_MOUSEBUTTONS, first with SELECTDOWN set, then with SELECTUP set.

Re: WaitLeftMouse takes 4 seconds to react on m68k

Posted: Fri Jan 18, 2019 11:49 pm
by asrael
Before I bother the Apollo guys I'll put together a simple POC trying to replicate this using plain C.
Vacation is over, time is more tight again.

Manfred

Re: WaitLeftMouse takes 4 seconds to react on m68k

Posted: Sat Jan 19, 2019 10:20 pm
by asrael
I have build a basic C program (on Vampire machine) that creates a window and waits for IDCMP_MOUSEBUTTONS (SELECTUP/SELECTDOWN) events.
But I couldn't see any delays there.

What else can I do to troubleshoot?


Manfred

Re: WaitLeftMouse takes 4 seconds to react on m68k

Posted: Sun Jan 20, 2019 1:41 pm
by jPV
I tried your example on my A1200/060/P96 machine, and didn't notice any delays. The two lines printed instantly when I clicked around.

Re: WaitLeftMouse takes 4 seconds to react on m68k

Posted: Sun Jan 20, 2019 4:26 pm
by asrael
jPV wrote:
Sun Jan 20, 2019 1:41 pm
I tried your example on my A1200/060/P96 machine, and didn't notice any delays. The two lines printed instantly when I clicked around.
Yeah, exactly. The delay doesn't exist on non vampire machines.
See some posts earlier:
"OK, Tested on an A1200 with ACA card.
Seems like the delay is not present there."

But I would be surprised if this a problem Intuition mouse click Wait.
This is practically used in every GUI application. If this would be a general problem on Vamire it would have surfaced already.


Manfred