[Qgis-developer] SpatiaLite very slow with QGIS 1.7

Jürgen E. Fischer jef at norbit.de
Sun Mar 20 18:58:13 EDT 2011


Hi Martin,

On Sun, 20. Mar 2011 at 18:32:41 +0100, Martin Dobias wrote:
> Thanks for the testing suite. I have run it with a profiler and found
> out that it is (surprisingly) caused by QgsSnappingDialog. It is
> created on application startup, each time when a layer is added to map
> layer registry it updates itself: creates tree widget items, combo
> boxes etc. Disabling the update slot connection it takes ~3s to open
> all the layers and quitting is instantaneous.

The code "updating" the layer list in the snapping dialog was constantly
removing everything and recreating all entries.   Fixed in r15545.


Jürgen 

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list