Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#3034 closed bug (fixed)

new symbology: quite slow at opening Symbol properties

Reported by: pcav Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.6.0
Component: Symbology Version:
Keywords: Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: Awaiting user input: no

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" 

Change History (8)

comment:1 by lutra, 14 years ago

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

in reply to:  1 comment:2 by jef, 14 years ago

Replying to lutra:

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

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

comment:3 by lutra, 14 years ago

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

comment:4 by borysiasty, 14 years ago

Must Fix for Release: NoYes

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 ).

comment:5 by wonder, 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.

comment:6 by borysiasty, 14 years ago

Resolution: fixed
Status: newclosed

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.

comment:7 by pcav, 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?

comment:8 by wonder, 14 years ago

I've committed a further improvement in r14499. Opening symbol properties should be instantaneous now.

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

Note: See TracTickets for help on using tickets.