Feature request #3808
get rid of annoying svg messages
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | - | ||
Category: | Build/Install | ||
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Easy fix?: | No | Copied to github as #: | 13866 |
Description
I see (in DebugView) the annoying set of messages (below) in the following circumstances:
- every time I add an svg (any svg) to a composer layout.
- when I open a saved project the messages are repeated for each layout that contains an svg (or perhaps for each svg on each layout - I don't know, as I always have just one svg per layout, a north arrow).
The attached patch fixes the svgs included in qgis, so I no longer get the messages. But it seems very strange to me that these messages were output when opening a project. Why would qgis need to read these svgs, when they are not used in the project? And why would it need to read them repeatedly, for every composer layout with an svg?
r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 couldn't create image from "pastedpic_10102008_233747.png" r25564 QColor::setNamedColor: Unknown color name 'character_n' r25564 QColor::setNamedColor: Unknown color name 'character_n' r25564 QColor::setNamedColor: Unknown color name 'character_n'
History
#1 Updated by Alister Hood over 13 years ago
My editor automatically changed UTF to utf in the first line of each file. I'll attach a "clean" patch without those changes too.
#2 Updated by Alister Hood about 13 years ago
- Pull Request or Patch supplied set to Yes
- OS version deleted (
XP) - Target version deleted (
Version 1.7.0) - Assignee deleted (
nobody -) - File 0001-fix-errors-in-some-svgs-3808.patch added
here's a git patch in case it saves someone a little time
I didn't quite make it clear in the description - this patch simply fixes some minor errors in a few of the svgs included with QGIS
#3 Updated by Giovanni Manghi almost 13 years ago
- Target version set to Version 1.7.4
#4 Updated by Giovanni Manghi over 12 years ago
- Target version changed from Version 1.7.4 to Version 2.0.0
#5 Updated by Pirmin Kalberer about 12 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
#6 Updated by Alister Hood over 10 years ago
- Status changed from Open to Closed
- Resolution set to fixed/implemented
Some cleanup work on the svgs also fixed the offending ones of this.
But it seems very strange to me that these messages were output when opening a project. Why would qgis need to read these svgs, when they are not used in the project? And why would it need to read them repeatedly, for every composer layout with an svg?
And it looks like this has been fixed as well - if I replace one of the "broken" svgs I only get the error message at times when I would actually expect QGIS to read it.