-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very slow responsive when type search term #265
Comments
Please, provide Zeal version you use, operating system and a list of docsets installed, so I'd be able to reproduce your problem. |
Sorry, I'd missed. Archlinux linux 3.18.4-1 |
@dontdieych please also share your list of installed docsets. Do you use many of them or any specific ones that might cause the problem? Maybe post a screenshot of your docset list. |
I've tried only with bash docsets installed. Try these search terms. eval - ok |
I tried again. 'eval' and 'break' also mangled when I type more fast. |
Try 'shi'. It always typed as 'sih' except only typed slowly. |
I'm using also 'fcitx' input method. If it is only me, I should try without fcitx. |
On Fedora 21 it is sometimes very slow too. |
I tried Zeal with Xmonad (the only difference from my setup), but I couldn't reproduce the slowness. There was also a SQLite bug in versions before 3.8.7, which caused a terrible slowdown of Quassel. But ArchLinux has the newest stuff already. @dontdieych, have you tried Zeal without fcitx? @phracek, more details on your environment, Zeal version and your set of docsets, please. |
Fedora 21 with Gnome desktop environment. SSD disc. If you want to more information then just only ask. |
@phracek, could you test Zeal from the master branch to see if it has the same issue too? The current code has been changed significantly from the version 20141123. |
when i install android docset (the search index is very large) ,search term is really slow and UI thread paused.this UX is very bad,so can you ps:another suggestion is to add enable/disable downloaded docset to options,it can skip disabled downloaded docset to speed up.eg: add an checkbox before docset name. |
@wjljack, I have ~20 docsets installed (including huge Android and .NET) and still search through index is really fast on my way weaker hardware. I'll try to reproduce your problem on Windows, maybe that's the issue. There's some logic, that needs to be moved in background threads, perhaps that'll improve your situation as well. I'll let you know, once I perform any performance optimisations. For docset grouping see #77, we'll have it at some point, but no ETA yet. |
@trollixx thank you for your reply,perhaps the problem is windows version.I really like zeal very much,so hope your good news for solve it~ |
I certainly find the windows version unusably slow. You can't scroll without it pausing and freezing for up tio 10 or 20 seconds. Restoring the window results in a freeze. Any searching or clicking about means endless freezing. This is the latest version as of writing on windows, with docsets for elasticsearch, jdk7, bash and emacs.. |
@bcorrigan you are right,same like me,so I nearly can't use large docset like .net framework and android. |
Okay, I've managed to reproduce the freezing. Seems to be a bug in QtWebKit. Due to obsolete status of QtWebKit I don't believe anyone would ever look into it. A workaround I found is to disable JavaScript. Since Dash docsets have an option whether JS should be enabled or not, that should solve this issue. |
Unfortunately, .NET docset requires JS to work properly. So, at the moment, I do not see a way to fix the problem :( I'll try to debug QtWebKit, but I have no idea what's happening under the hood there. |
Hi, Docsets: I also have a very slow search and it makes almost useless for me. |
@aramazhari Sorry for inconvenience. I really want to fix this issue, but it's not an easy one. As a short-term workaround I'll add an option to disable JavaScript completely. Without JS support some docsets lack interactivity, but at least overall performance is acceptable. The actual problem is in the obsolete Qt WebKit module. I would be happy to get rid of it, but there are some steps to be done. Qt WebEngine lacks some features Zeal needs and also requires use of MSVC for Windows builds. It's possible to make Zeal compile with MSVC 2013, but after my first try, Zeal just crashed somewhere in Qt WebEngine almost on any action. If I do not find a way to make Qt WebEngine work for us, then most likely I'll try use CEF instead of modules provided by Qt. Another possibility is Qt WebView, which is going to have Internet Explorer support at some point. So, I don't see much sense in trying out Mono or something else, as the problem is in one deprecated Qt module. |
I've tried to build zeal with Qt 5.5.1 WebEngine MSVC2013 ,It's faster, but every time new char typed in search input ,the web page widget will grab focus ... |
I've ran into the same issue. It's about 1 sec delay when typing into a character. |
plz try to refer velocity 's way,using lucene to search index key. |
I think with all recent improvements to the search logic, and UI responsiveness we can consider this one fixed. Please give it a try, by building Zeal yourself, or with a CI build. Alternatively wait for the 0.3.0 release. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for a related request. |
I'm wondering about it is only me or ...
When I type keyword, say browser location bar, it feels like this,
search keyword
but when I type on zeal,
s ... e ... a ... r ... c ...
during '...', zeal freeze. 1sec ~ 2sec. Don't respond at all. If I continue to type ignoring freeze , then all input are randomly mixed.
srchae ekyod
like that.
Do you all fine?
The text was updated successfully, but these errors were encountered: