Sudden delay in dismissing answer dialog

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Sudden delay in dismissing answer dialog

Post by dunbarx » Mon Apr 17, 2023 5:39 pm

I recently upgraded to Ventura.

Now and then I cannot select a choice from an answer dialog unless I click a choice several times over a period of perhaps ten seconds. The dialog selection buttons do hilite at each click but no action is taken. This happens perhaps once every three or four dialogs shown.

Anyone see this? Mac OS 13, LC 9.6.8.

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Sudden delay in dismissing answer dialog

Post by FourthWorld » Mon Apr 17, 2023 7:32 pm

Don't know if it's related, but IIRC there are some fixes to the Ask and Answer dialogs in 9.6.9.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Mon Apr 17, 2023 8:18 pm

Richard.

Well, if true, that is a good reason to upgrade. But the "answer dialog"? Really? Is it very new technology?

And how do these things happen only to me?

Don't answer that.

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Sudden delay in dismissing answer dialog

Post by FourthWorld » Mon Apr 17, 2023 8:51 pm

Window management is a hard thing on any platform. Harder on multiple platforms. And then multiplied by attempting to manage all the different conceptual underpinnings of each OS from one high-level scripting language.

I believe the 9,6,9 changes (working from memory here, and short on sleep) began as engine changes, which exposed older issues in the scripted dialogs.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Mon Apr 17, 2023 9:12 pm

Richard,

Will update, as I said.

I notice now that if I have one of those errant dialogs, and I click twice quickly on a button, I get a hilite on click 1 but not on click 2 unless I wait about one second. This regardless of whether or not it is ready to actually work.

Will update now and report back...

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Mon Apr 17, 2023 9:25 pm

Nope.

9.6.9 does the same thing. I guess it is a Ventura thing? Though that does not seem right.

I can endure this, but it seems unfair.

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Mon Apr 17, 2023 9:28 pm

I see that there are already 30 watchers here. But how many of you are on Ventura?

Please let me know if this pops up for even one other user. And especially if it does and you are NOT on Venrura.

Craig

Emily-Elizabeth
Posts: 101
Joined: Mon Jan 03, 2022 7:10 pm

Re: Sudden delay in dismissing answer dialog

Post by Emily-Elizabeth » Tue Apr 18, 2023 4:00 am

No delays when using the answer command, as sheet or as a modal.
LiveCode Community 9.6.3
macOS Ventura 13.3.1

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Tue Apr 18, 2023 6:35 am

Emily.

AHA. Thanks. So it is me. But I now realize that i did not "upgrade" to Ventura, I changed machines, to a Mac Mini M2.

So, anyone on that gadget?

Craig

SWEdeAndy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 261
Joined: Sat Aug 16, 2008 9:48 am
Location: Stockholm, Sweden
Contact:

Re: Sudden delay in dismissing answer dialog

Post by SWEdeAndy » Tue Apr 18, 2023 8:01 am

I don't experience any faulty behaviour in answer dialogs.

LC 9.6.8
Ventura 13.3.1
Mac Studio M1 Max
Andreas Bergendal
Independent app and system developer
WhenInSpace: https://wheninspace.se

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Tue Apr 18, 2023 3:32 pm

Andy.

OK, not exactly the same machine, but I am used to having these things happen only to me. :roll:

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Fri Apr 28, 2023 5:14 pm

This issue went away for a week, but came back this morning. It is not that I must click a button repeatedly, it is that I must wait for a while. In other words, if I notice that my first click on a button in that dialog does nothing but hilite that button, if I wait about ten seconds, the second click works as advertised.

I thought I had a fast machine. This happened only after I upgraded to a mac mini M2 with Ventura preLoaded. So I am not sure which of three possibilities it is:

1- The Mac Mini
2- Ventura
3- Dunbarx

I would not be surprised at any or all.

Craig

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Sudden delay in dismissing answer dialog

Post by stam » Fri Apr 28, 2023 5:34 pm

The 4th possibility is that there is some corruption in your installation of LC or your stack.
Might be worth trying with a fresh LC installation and a brand new test stack?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Fri Apr 28, 2023 5:53 pm

Stam.

Possibly. Should not hurt too much to try.

Just to make this as silly as possible, the wait time is ten seconds. If I just wait that interval before ever clicking a button, the action always works.

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Sudden delay in dismissing answer dialog

Post by dunbarx » Fri Apr 28, 2023 6:17 pm

The time I have to wait is about 10.5 seconds. Perfectly repeatable.

Just saying.

Craig

Post Reply

Return to “Talking LiveCode”