Typing in search field very, very slow (only since v2.0.1)

PeeWee678
Posts: 39
Joined: Tue Mar 03, 2009 8:37 pm
Contact:

Typing in search field very, very slow (only since v2.0.1)

Postby PeeWee678 » Thu Jan 03, 2013 11:43 am

Hi Alex,

I noticed that Cintanotes 2.0.1 is very slow when I type a text in the search field. I type quite fast and CN is having problems with this: it only can keep track of about 3 characters per second. In other words: when I type something, CN fills the search field at a rate of max. 3 characters per second so I really have to wait until CN is ready "typing" my text.

Edit: It depends on the section I'm in. It can be as slow as 1 char per second.

This is really annoying. (v2.0 was fine in this respect). I hope this will also be fixed in the next version, otherwise I have to go back to v 2.0 (which has a set of other bugs).

I have to be honest: I'm a bit disappointed since I decided to buy it (I bought v2.0) because I already had to report several bugs (CN forgets sort order after restart, CN forgets search scope after restart, slow tabs switching, slow typing, no more mousewheel scrolling in taglist) and CN the way it is now, is quite flawed. Otherwise it still is a great application.

I really hope these bugs will all be fixed without introducing too much new bugs.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby CintaNotes Developer » Thu Jan 10, 2013 10:47 am

Hi and thanks for the report!
Sorry for the aggravation, we are working hard on fixing reported problems. The next couple release will be mostly devoted to
increasing stability and performance.

Unfortunately I can't reproduce the slow typing problem.
Maybe in 2.0.1 you have "Search inside words" activated? When this option is activated, the search is slower
because CN can't use full-text index.
Also please tell me about your notebook - what's its size, how many notes do you have?
Alex
PeeWee678
Posts: 39
Joined: Tue Mar 03, 2009 8:37 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby PeeWee678 » Thu Jan 10, 2013 11:30 am

- I don't have "search inside words" activated.
- My DB: is 2.3 MB large with almost 1000 notes
- The problem did / does not occur in v2.0 (with the same DB).

I just tried to upload the log file (> 6MB!) for another question (slow tab switching) but it's still uploading after 10 minutes so I think something is wrong. I could send you my DB if you wish.
Could you please inform me of the best way to send it to you?
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby CintaNotes Developer » Thu Jan 10, 2013 11:34 am

Thanks for the info. Having the db would be really great. Please send it (zipped) to support@cintanotes.com
Alex
PeeWee678
Posts: 39
Joined: Tue Mar 03, 2009 8:37 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby PeeWee678 » Thu Jan 10, 2013 11:52 am

OK, I sent you the database in an e-mail.

I noticed additionally:

- typing in searchfield is not slow directly after a restart of CN, only after switching to another tab and afterwards it stays slow
- the tab "All" is not slow when typing in search field, only the other tabs
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby CintaNotes Developer » Thu Jan 10, 2013 11:58 am

Thanks for the DB!

Also wanted to ask: how do you switch tabs, using the mouse or via a keyboard shortcut?
I had a similar problem: everything became very slow after I pressed Ctrl+Right. Turned out the USB-to-PS/2 converter for my old keyboard was the culprit. Could it be the same for you?
Alex
PeeWee678
Posts: 39
Joined: Tue Mar 03, 2009 8:37 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby PeeWee678 » Thu Jan 10, 2013 12:01 pm

Usually I use the mouse but I tried both methods on several computers but there's no difference... (and it makes no difference in which order I use mouse or keyboard)
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby CintaNotes Developer » Thu Jan 10, 2013 12:09 pm

Good news: your db is very slow on my machine, even without switching tabs!
Also I see that you forgot to mention you have so many tags.
Performance problems come from having 1500+ tags!

But no worries, we'll fix this in the next version :)
One more illustration why having access to the db file is the key. Thanks!
Alex
PeeWee678
Posts: 39
Joined: Tue Mar 03, 2009 8:37 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby PeeWee678 » Thu Jan 10, 2013 12:23 pm

Ah yes, I only mentioned the number of tags in another thread (about slow tab switching). I realize my tag usage is a bit excessive :oops:

Anyway: glad you found the culprit and I'm not very surprised it can (and will) be fixed because the problem did not occur in 2.0 so I guess it's a combination of many tags and some sort of performance issue that got introduced in 2.0.1

Thanks!
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby CintaNotes Developer » Thu Jan 10, 2013 12:46 pm

Please try this version:
Attachments
CintaNotes_2_0_2_Beta0.zip
(2.07 MiB) Downloaded 1981 times
Alex
PeeWee678
Posts: 39
Joined: Tue Mar 03, 2009 8:37 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby PeeWee678 » Thu Jan 10, 2013 12:54 pm

Thanks again!

First impressions: splendid!
That is regarding:

- slow tab switching, now snappy again!
- slow typing in search, also snappy again!
- scrolling taglist by mousewheel, fixed!

I'll keep you posted if I encounter problems or bugs.
PeeWee678
Posts: 39
Joined: Tue Mar 03, 2009 8:37 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby PeeWee678 » Thu Jan 10, 2013 1:04 pm

V2.0.2 beta 1

- remembering sort order and search inside words (after restart) is not fixed in this beta as far as I can see (guess that's intended for the definitive version?)
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Typing in search field very, very slow (only since v2.0.

Postby CintaNotes Developer » Thu Jan 10, 2013 1:44 pm

You're right, the fix for this is not ready yet) Requires quite a bit of refactoring, should be ready by the end of next week
Alex

Return to “Bug Reports”