Long delay in menu activation on 9.6.3 / Big Sur

If you find an issue in LiveCode but are having difficulty pinning down a reliable recipe or want to sanity-check your findings with others, this is the place.

Please have one thread per issue, and try to summarize the issue concisely in the thread title so others can find related issues here.

Moderator: Klaus

Post Reply
stam
Posts: 3069
Joined: Sun Jun 04, 2006 9:39 pm

Long delay in menu activation on 9.6.3 / Big Sur

Post by stam » Mon Aug 02, 2021 12:39 pm

Hi all,
before i submit a ticket for this, just checking that it's not just me.

For the last few release candidates and now with 9.6.3 proper, i'm experiencing a long (2-3 seconds) delay from clicking on a menu and the menu appearing, which is increasingly annoying. This affects all IDE menus.

Occasionally i'm finding that menu shortcuts will not work either, until the menu in question has been opened - then they do work. For example cmd-2 and cmd-3 will not go to the previous or next card respectively until i have opened the View menu (which of course takes 2-3 seconds).

I'm running on MacOS Big Sur 11.5.

Is anyone else experienced these issues?

Many thanks
Stam

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Long delay in menu activation on 9.6.3 / Big Sur

Post by jmburnod » Mon Aug 02, 2021 1:18 pm

Hi,
I tested menus builded with menus builder and works fine here (Big Sur 11.4 LC 9.6.3-rc-1)
Same with popup, pulldown and options.
Best regards
Jean-Marc
https://alternatic.ch

stam
Posts: 3069
Joined: Sun Jun 04, 2006 9:39 pm

Re: Long delay in menu activation on 9.6.3 / Big Sur

Post by stam » Mon Aug 02, 2021 2:53 pm

Hmmm... must just be me then (which i imagined as there was no comment on this on the forums).

Does anyone have any suggestions to fix this? The issue persists are deleting 9.6.3 RC3 and installing fresh copy of 9.6.3 stable (i still have 9.6.2 RC2 on my system however as that performs much faster than any subsequent RC or stable releases).

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm

Re: Long delay in menu activation on 9.6.3 / Big Sur

Post by Bernard » Thu Aug 05, 2021 12:17 pm

No menu delay here.
Big Sur 11.2.3, LC 9.6.3

Do you have any plugins active?

stam
Posts: 3069
Joined: Sun Jun 04, 2006 9:39 pm

Re: Long delay in menu activation on 9.6.3 / Big Sur

Post by stam » Thu Aug 05, 2021 6:36 pm

Bernard wrote:
Thu Aug 05, 2021 12:17 pm
No menu delay here.
Big Sur 11.2.3, LC 9.6.3

Do you have any plugins active?
I run only 2 plug-ins: Richard’s Devolution and Bernd’s bnGuides.

There are also 2 libraries loaded (LiveCloud libraries). I have a number of extra widgets loaded (some of Herman’s widgets, mobile widgets, and a couple more from the store).

There is a very clear difference in performance between 9.6.2 RC2 and any subsequent version and the higher the version the longer the delay it feels like. Certainly in the last few days it can take up to 5-6 seconds from clicking on a menu until the menus appear.

I’ll disable the two plugins I run and see if that makes a difference.

I guess the next step is to eradicate every trace of every version of LC from my system and re-install a fresh version… or keep using 9.6.2 RC2…

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm

Re: Long delay in menu activation on 9.6.3 / Big Sur

Post by Bernard » Fri Aug 06, 2021 9:04 am

Does this delay happen as soon as you open the IDE and before you open any of your own stacks? At that point any frontscripts you have won't be running, only plugins. In the Plugin Settings menu you can configure them to only start when chosen.

If you use the Menu Builder to autogenerate menus for a stack, then choose "suspend development tools", do those menu buttons for that stack give you a delay too?

What happens if you create a new Mac user and run/install 9.6.3 as that user? I think the plugins and preferences should be user-specific. I guess that the widgets you have installed won't be there for that user. So there should be nothing but IDE running for that user.

As my Big Sur install is pretty new I don't have any customizations just the vanilla IDE, and I'm not experiencing any delays.

stam
Posts: 3069
Joined: Sun Jun 04, 2006 9:39 pm

Re: Long delay in menu activation on 9.6.3 / Big Sur

Post by stam » Fri Aug 06, 2021 9:12 am

Bernard wrote:
Fri Aug 06, 2021 9:04 am
Does this delay happen as soon as you open the IDE and before you open any of your own stacks? At that point any frontscripts you have won't be running, only plugins. In the Plugin Settings menu you can configure them to only start when chosen.
Actually i've noticed the problem is minimal on first launch, even when just opening stacks but becomes progressively worse when working on my stacks for some time (but without opening new plugins etc - same as per startup. The only difference is that i will have been connecting to LiveCloud quite a lot and that uses their libraries). The delay is < 0.5 s (visually anyway) when just opening my mainstack and after a couple of hours can be counted to 5-6 seconds...
I should also say that other things in the IDE seem unaffected more or less, although the IDE again is more sluggish than 9.6.2 RC2. I guess a memory leak somewhere may be possible, i'll keep an eye on memory usage as well.
Bernard wrote:
Fri Aug 06, 2021 9:04 am
What happens if you create a new Mac user and run/install 9.6.3 as that user? I think the plugins and preferences should be user-specific. I guess that the widgets you have installed won't be there for that user. So there should be nothing but IDE running for that user.
Actually that is a really good idea; i was not keen on the whole complete deletion and re-installation without knowing it would help. Will definitely give that a go too - thank you..

Post Reply