Bug report #15193
Print composer performance at startup
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Map Composer/Printing | ||
Affected QGIS version: | 2.18.4 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 23132 |
Description
It takes a very long time to load a print composer with a few hundred items. Loading a map with 10.000+ items only takes a few seconds. Does the print composer make use of multicore processing? Is there any need to load print composers at startup?
Associated revisions
Use QgsCRSCache instead of looking up CRS by srs id (refs #15193)
[composer] Composer windows are created on demand and destroyed on close
Avoids having to create a window and all widgets for every
composition when loading a project. Speeds up loading
projects.
Fix #15193
History
#1 Updated by R. R. over 8 years ago
- File composer_svg_export.mp4 added
Opening the exported print composer (.svg) is much faster than loading the print composer in QGIS (see composer_svg_export.mp4).
#2 Updated by Nyall Dawson over 8 years ago
I've pushed a small improvement - the rest needs to wait until the API break and can't be done for 2.x
#3 Updated by R. R. over 8 years ago
- Target version set to Version 3.0
Hi Nyall, is the small improvement already implemented in QGIS 2.16.0?
#4 Updated by Kilian Hagemann about 8 years ago
I think this is a duplicate of #10828, perhaps the OP could confirm this
#5 Updated by Giovanni Manghi over 7 years ago
- Status changed from Open to Feedback
- Affected QGIS version changed from 2.14.3 to 2.18.4
- Target version deleted (
Version 3.0)
Reinhard Reiterer wrote:
Hi Nyall, is the small improvement already implemented in QGIS 2.16.0?
with the provided (privately) dataset and project I was able to open it in a very resonable amount of time under Linux with 2.18.4, while on Windows (same machine) I was not. On the other hand on qgis master (qgis3) on Windows the project opens in a very resonable amount of time. I have seen this improvement in master also in other projects/tickets. I would assume that is in QGIS 3 that this issue was solved.
Nyall a word on this? Thanks!
#6 Updated by Nyall Dawson over 7 years ago
Maybe slightly better in master, but I've got some big fixes for this coming soon (next 2 weeks). Until then we should leave this open.
#7 Updated by Giovanni Manghi over 7 years ago
- Status changed from Feedback to Open
#8 Updated by Nyall Dawson over 7 years ago
- Status changed from Open to Closed
Fixed in changeset c60a73cb9a6bd552a0991614aa7993b2fcd20f1f.