Page 1 of 1

LC-problems on Windows

Posted: Wed Mar 04, 2015 4:01 pm
by AxWald
Hi,

2 problems I encounter(ed) repeatedly both on a Win2K3-R2 server, and on my Win7-64 workstation, using LC community versions from the 6.* line (up to 6.7.1):
  1. When installing a new version, it can happen (i.e. it doesn't happen every time!) that the new version isn't registered properly. Means, if you double-click a stack the old IDE will start.
    Uninstalling anything, or only the old versions, will not always help. Not once I ended with LC not registered anymore at all (i.e. double-clicking a stack will bring up a window asking what program to use to open this file ...).
    Usually manually editing the registry is required to cure this. That's no fun.
  2. Sometimes the dictionary freezes LC. Completely freezes it - needs to be shut down via task manager, and all unsaved work is gone. Horror!
    I work around by using "BvG Doku 2", but that's not how it should be.
I tried hard to find a way to reproduce this, to get more info about where the problem could be located, but in vain.

While writing this, I have a dictionary open (6.7.1) and do all kinds of searches - and it works like a charm. But I bet, as soon as I'll do some serious coding, and have 2 hours worth of unsaved code, it'll strike again :/

And I'm installing 6.7.1 now on my server (had 6.7.0 still). Let's check: For sure it works flawlessly - you cannot beat Murphy ...

Maybe some other ppl can add some info to this? Because both are annoying things that shouldn't happen, IMHO. Nothing game-breaking, but very annoying.
Sorry, I cannot find a way to reproduce. Maybe YOU are the one that can?

I hope that stuff like this is what this "Bug Triage" forum is meant for, and that posting this here is correct.

Have a good time!

PS: Might be that the installer problem is solved already, but I didn't find any info in the release notes ...

Re: LC-problems on Windows

Posted: Fri Mar 27, 2015 4:43 pm
by Mark
Hi,

Perhaps the checkForAltKey message is causing you problems. This message takes a lot of CPU power. I have killed it in a frontScript.

Yes, it sometimes happens that the installer or uninstaller breaks the file associations. The uninstaller is in .setup.exe and is very bad. I always delete it immediately after installation. I remove old versions of LiveCode manually and let the new installer replace the old file associations.

Kind regards,

Mark

Re: LC-problems on Windows

Posted: Fri Mar 27, 2015 6:22 pm
by FourthWorld
Mark wrote:Perhaps the checkForAltKey message is causing you problems.
I haven't come across that, and the Dictionary turns up empty when looking for it. Where is that defined?

Re: LC-problems on Windows

Posted: Sat Mar 28, 2015 5:49 pm
by jacque
It's a repeated message sent by the dictionary. In older versions it went haywire and stacked up dozens at a time. I put in a bug report about it and it was fixed, I no longer see quite as much activity.

Re: LC-problems on Windows

Posted: Sun Apr 12, 2015 1:32 am
by Patrick Wilson
The LiveCode Dictionary has always often disappeared for me in the 6.x versions I use on Windows and cannot be accessed. Seems to happen sometimes when I press the back button while a definition is "maximized". The Code Editor will also sometimes disappear. I frequently Alt+tab between all my windows, and use the dictionary constantly.

My work around has always been to right click the task bar icon for theLiveCode Dictionary or Code Editor and choose close. Only then can I reopen the them.

Re: LC-problems on Windows

Posted: Thu Mar 24, 2016 10:07 pm
by AxWald
Hi,

finally I found out how to reproduce the dictionary problem - after again losing 2hs worth of work ...
To do it:

Open dictionary.
Select text, works best if selecting the header section (look @ pict).
Repeat until it freezes. Will not take long.
LC_Dict_bug.jpg
LC dict frozen after selecting the header
This is LC 6.7.8 Comm., Win 10-64. Happened with Win 7-64 and earlier versions as well.

"checkForAltKey" would run continuously with 6.7.8 still, but I killed it in the dict stack (in every dict stack since I found it in the msg watcher ;-) ).

Have fun, happy Easter!

Re: LC-problems on Windows

Posted: Sat Apr 09, 2016 10:36 pm
by Mark
AxWald,

I have a plug-in with the following handler in the front script:

Code: Select all

on checkForAltKey
end checkForAltKey
That kills it for every LiveCode version without a need to change the dictionary.

Kind regards,

Mark

Re: LC-problems on Windows

Posted: Sun Apr 10, 2016 3:50 pm
by AxWald
Hi,
Mark wrote:I have a plug-in with the following handler in the front script:

Code: Select all

on checkForAltKey
end checkForAltKey
That kills it for every LiveCode version without a need to change the dictionary.
Thx a lot! It works! :)

And additionally, I had reason to learn about this plugin stuff - something I ever ignored before ;-)

Have a good time!