Page 1 of 1

Dictionary search

Posted: Wed Mar 18, 2015 10:22 am
by gepponline
Is the dictionary working correctly??
I have to wait the result every time I type a single character.
So i can not type in the search box normally. I have to wait and type a character per time.

Is it a bug? Is only a windows 7 problem? Is only a problem of mine?
Is there a way to avoid this problem more than wwrite the words i want to search somewhere else and then copy and paste in the search box?

Re: Dictionary search

Posted: Wed Mar 18, 2015 1:49 pm
by Klaus
Hi Geppo,

since there are currently three version "at large" (6.x, 7.x, 8 dp1) please define what version your are using.
Here on my Mac I do not see this problem in version 6.x nor 7.x!


Best

Klaus

Re: Dictionary search

Posted: Wed Mar 18, 2015 2:37 pm
by gepponline
vrsion 7.0.2-rc-1 on Windows 7.

Re: Dictionary search

Posted: Wed Mar 18, 2015 2:41 pm
by Klaus
Hi Geppo,

well, we are at 7.04 RC1 in the meantime! 8)
Please bookmark this page and try again with the latest version: http://downloads.livecode.com/livecode/

Best

Klaus

Re: Dictionary search

Posted: Wed Mar 18, 2015 3:14 pm
by gepponline
updated to 7.0.3 (the stable one) and still the same..

Re: Dictionary search

Posted: Wed Mar 18, 2015 3:37 pm
by FourthWorld
I see the same behavior here, in which the token list is further filtered with each character entered in the search field. But even on my slowest machine the performance is reasonably snappy, and on my Haswell box close to instantaneous.

I would imagine a CPU capable of running Windows 7 should be more than adequate for similar performance with LC's Dictionary.

Is your system under high load from other processes, or background tasks (timers) in the LC process?

Re: Dictionary search

Posted: Wed Mar 18, 2015 3:45 pm
by gepponline
I don't think this could be a problem of my CPU.
I have a DELL laptop 64bit with intel i5 (used at 20%) and 4 Gb of RAM (2,71 used at the moment)

Re: Dictionary search

Posted: Thu Mar 19, 2015 9:44 am
by morrell
My LC Community 7.0.1 Dictionary running on a six year old Windows 7 (64 bit) PC is instant.

Ruth

Re: Dictionary search

Posted: Thu Mar 19, 2015 10:06 am
by gepponline
Could there be a setting somewhere that set the search behaviour?
On my Ubuntu machine it works correctly..

Re: Dictionary search

Posted: Sat Apr 04, 2015 5:08 pm
by Sean O'Connor
@gepponline am using livecode 7.0.3 dictionary search is very responsive, running ..wait for it......Windows vista on a laptop.

could be that the RAM is full and so takes a long time to respond.. check to see if you have any memory ( as opposed to cpu ) intensive programs sitting idle in, say the windows taskbar at the bottom of your screen. you might need to stop a few of them, if that doesnt work then uninstalling a few programs might also do the trick.

Re: Dictionary search

Posted: Sat Apr 04, 2015 7:43 pm
by Simon
Well one thing that happens is that when you open the dictionary it connects to livecode.com. Not sure why it needs to.
It responds very quickly if you have your internet connection turned off.
I figure it's one of those QC things where liveCode tracks what people search on.

Simon

Re: Dictionary search

Posted: Sat Apr 04, 2015 8:09 pm
by FourthWorld
Simon wrote:Well one thing that happens is that when you open the dictionary it connects to livecode.com.
If it does it's not using libURL - I just tried with while monitoring libURL and the Dictionary generates no URL requests through it.

Where are you seeing this connection?

Re: Dictionary search

Posted: Sat Apr 04, 2015 8:15 pm
by Simon
I had Fiddler up (http://www.telerik.com/fiddler) once when I ran the dictionary and all sorts of calls where made.

Simon

Re: Dictionary search

Posted: Sat Apr 04, 2015 8:22 pm
by FourthWorld
Yes, I posted too soon: it doesn't send the user's search query, only the selection from the list of LC tokens the user clicks on.

The data itself is urlEncoded, base64Encoded, and compressed. Reversing those shows what's sent.

Even though no user data is sent, given that it sometimes has a performance issue I've submitted a bug report against it, suggesting a preference to turn it off:
http://quality.runrev.com/show_bug.cgi?id=15158

Thanks for noting this.

Edit: it seems the data is sent to obtain the User Notes for the chosen entry. It's probably not tied to search at all, since the user notes would have to be updated whenever a token's info is displayed.

I've updated my report accordingly, suggesting that perhaps they may provide an opt-out for those with poor network performance.