Scrolling speed of the index can be improved
Bug #575277 reported by
Henrik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Won't Fix
|
Low
|
Unassigned |
Bug Description
In the Python-based version of Zim, scrolling the index with the scroll wheel is so slow that it's practically unusable on my Atom-based netbook. It's less of a problem but still noticeable on a Pentium 4. The old Perl-based version worked much better in this regard.
To reproduce: Use the scroll wheel to scroll vigorously up and down for a few seconds. The list will lag behind and keep scrolling for a while afterward.
My system:
* Zim 0.46
* Python 2.6.5
* GTK+ 2.20.0
* PyGTK 2.17.0
* Linux 2.6.33
* X.Org server 1.7.6
The following did not resolve the issue:
* Changing my GTK theme to the default.
* Putting the notebook on a RAM disk.
* Disabling compositing.
summary: |
- Scrolling is extremely slow + Scrolling the index is extremely slow |
To post a comment you must log in.
There is a difference in trade off between the two version in how much data is kept in memory. The perl version keeps all data in memory while the python requests it on the fly.
I found that the python version performs especially worse for large namespaces (so many notes without much hierarchy) and I have implemented some optimizations for that in the development tree since releasing 0.46. If you want to try this out, you can fetch the development branch with "bzr branch lp:zim".
How many notes do you approximately have in the top level of the notebook ?