9.6.2 RC3 - script editor freeze

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

9.6.2 RC3 - script editor freeze

Post by stam » Sat Mar 13, 2021 7:38 pm

Hi all,
Just installed RC3 today and overall works fine, but having problems with the script editor - this becomes repeatedly but randomly unresponsive.

Pressing several keys produces no text; after 5-6 seconds this recovers and the last few keypresses are entered in the script editor.

I have not been able to identify a reproducible trigger for this, but it is recurrent and keeps happening after quiting/restarting LiveCode.

A usual scenario seems to be hitting the backspace key to delete - nothing happens and if i hit the key repeatedly nothing happens for several seconds then multiple characters are deleted.

This seems to be a new problem introduced with RC3 - has anyone else noticed this? if yes, will submit a bug report...

S.

SparkOut
Posts: 2944
Joined: Sun Sep 23, 2007 4:58 pm

Re: 9.6.2 RC3 - script editor freeze

Post by SparkOut » Sat Mar 13, 2021 8:42 pm

Urgh, this is one of the many "no recipe" glitches that have plagued the SE on Windows for many versions. Each release in the 9.x series has been largely an improvement, steady increases in performance and stability for the most part, not stellar changes.
The last couple of releases, I have heard a few comments of these sorts of issues on Mac too. The best suggestions to evade these issues tend to centre on the "code completion/helpers" - turn them off in the SE menu and see if that helps. Also keep the Project Browser closed except when specifically using it, and add exclusions for LiveCode in antivirus products.

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

Re: 9.6.2 RC3 - script editor freeze

Post by stam » Sat Mar 13, 2021 9:39 pm

Thanks for the suggestions for workarounds Sparkout - i do use all the 'helpers' in the SE and am not keen to loose these.
I'd rather regress back to RC2 instead.

This may have been a previous issue, but seems new in 9.6.2 RC3 - do you not think this would warrant a bug report?

Davidv
Posts: 77
Joined: Sun Apr 09, 2006 1:51 am

Re: 9.6.2 RC3 - script editor freeze

Post by Davidv » Sat Mar 13, 2021 10:41 pm

stam, I have encountered the same or similar things on a Mac with 9.6.2 RC3. In fact I quickly reverted to RC2 in which (and earlier versions) I have never encountered the same problem(s).

The first occurrence, in a moderately long stack script, the editor started walking backwards highlighting all the text, line by line, slowly. During this time LC was wholly unresponsive. I let it go until it reached the top of the script when normal service was returned. On a couple of other occasions it simply stopped responding but for what appears to have been a longer stretch than you describe, and keypresses were lost (these were typically attempted window or menu selections or command keys, rather than new text). Since at that stage I was only refining some things rather than writing code slabs, and making frequent Saves and file copies, I simply killed LC to start again. After the third or so time I reverted to RC2. All now progresses smoothly so it appears new to RC3.

MacOS version is 11.2.3

adding: Unfortunately I have no recipe or sensible clue to one, although it was happening more than once in an hour. All I can say at the moment is "editing a stack script", conceivably with other inspectors or the app being touched. I also used a breakpoint before clearing all. Project browser was closed, as it mostly is.

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

Re: 9.6.2 RC3 - script editor freeze

Post by stam » Sat Mar 13, 2021 11:16 pm

Submitted a bug report here:
https://quality.livecode.com/show_bug.cgi?id=23119

Do add any comments as needed...

Davidv
Posts: 77
Joined: Sun Apr 09, 2006 1:51 am

Re: 9.6.2 RC3 - script editor freeze

Post by Davidv » Sat Mar 13, 2021 11:46 pm

Thanks for making the report Stam, I added a comment also.

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

Re: 9.6.2 RC3 - script editor freeze

Post by stam » Wed Apr 07, 2021 7:38 pm

So... 9.6.2 RC4 is out and fixes the freeze.

But it also introduces a number of issues (MacOS 11.2.3)
So far i've seen that it's very significantly reduced scrolling speed in the script editor - it now crawls even on smaller scripts
Performance seems to have taken a hit - i have a set of grouped controls that are meant to illustrate one of 3 states, so only 1 is highlighted.
In brief, on mouseUp, it resets all to deselected state and then selects the clicked one.
This is instant in RC2.
In RC4, there is a 1-2 second delay between initial click, then all groups become deflected then another 1-2 sec delay until the clicked one is selected. Unusable.

I've added a response to the above bug report but not sure if
a) i should create a new forum post for this and
b) if i should create a new bug report for this.

Post Reply