Sudden delay in dismissing answer dialog

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

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10510
Joined: Wed May 06, 2009 2:28 pm

Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 10105
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Sudden delay in dismissing answer dialog

Post by FourthWorld »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 10105
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Sudden delay in dismissing answer dialog

Post by FourthWorld »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 217
Joined: Mon Jan 03, 2022 7:10 pm
Contact:

Re: Sudden delay in dismissing answer dialog

Post by Emily-Elizabeth »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 329
Joined: Sat Aug 16, 2008 9:48 am
Contact:

Re: Sudden delay in dismissing answer dialog

Post by SWEdeAndy »

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
Free LC dev tools: https://github.com/wheninspace
(WIS_WebDeployHelper, WIS_ScriptDependencies, WIS_BrowserAnimation)
WhenInSpace: https://wheninspace.com
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 3214
Joined: Sun Jun 04, 2006 9:39 pm

Re: Sudden delay in dismissing answer dialog

Post by stam »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Sudden delay in dismissing answer dialog

Post by dunbarx »

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

Just saying.

Craig
Post Reply