Bug report #3034

new symbology: quite slow at opening Symbol properties

Added by Paolo Cavallini over 14 years ago. Updated about 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Symbology
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13094

Description

In the new symbology, when opening layer properties>Symbol properties, the CPU goes up for several minutes, and the system becomes unresopnsive. From the shell I get several warnings:

Warning: QFont::setPointSize: Point size <= 0 (0), must be greater than 0
Warning: QColor::setNamedColor: Unknown color name 'character_n'
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 

History

#1 Updated by Giovanni Manghi over 14 years ago

yes, I also noticed this recently on trunk/Ubuntu.

#2 Updated by Jürgen Fischer over 14 years ago

Replying to [comment:1 lutra]:

yes, I also noticed this recently on trunk/Ubuntu.

Looks like some of the new SVG symbols produce these errors.

#3 Updated by Giovanni Manghi about 14 years ago

it is possible to reomove this symbol? on slow computers the lag is very annoying.

#4 Updated by Borys Jurgiel about 14 years ago

I can confirm it too. +1 for removing it before the 1.6 release, as it makes the new symbology usage extremaly painful (on Core2Duo/4GB ).

#5 Updated by Martin Dobias about 14 years ago

Recently (cca 2 weeks ago) I have improved the loading time of the symbol properties dialog. Is it acceptable now?

Anyway if there are any svg files that cause troubles, it would be good to repair or remove them.

#6 Updated by Borys Jurgiel about 14 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed

Now everything seems to work. Only opening the SVG marker list for adding one of them as a symbol level takes about a second, but I think it's acceptable. I'm closing the ticket now, please test it and open if necessary.

#7 Updated by Paolo Cavallini about 14 years ago

Tested, it works, thanks.
BTW: how could check which SVG symbol causes problems? Perhaps we should automatically check their validity before the inclusion in the standard set?

#8 Updated by Martin Dobias about 14 years ago

I've committed a further improvement in 34e9fc5b (SVN r14500). Opening symbol properties should be instantaneous now.

The warnings/debug statements in console regarding the SVG files can be ignored.

Also available in: Atom PDF