Skip to content

Infinite loading for the project with many rule-based layers #55026

Open
@magicarm22

Description

What is the bug or the crash?

We are creating a plugin that can upload data to the geopackage file and set it in QGIS. For now, we have a gpkg file with ~60 layers, each with 3 rule-based symbols. When trying to enable one of the groups, QGIS starts to load layers, but it doesn't end - QGIS loading layers infinite. How can we optimize rendering?

Steps to reproduce the issue

  1. Load test project:
    7d874196-7365-4670-ad1f-36afbeeba9be.zip
  2. Extract project to the folder
  3. Open project_4_04-23.qgs file
  4. Try to load group of layers "Трубопроводы"
  5. QGIS will load layer, but renderer stuck - if you try to zoom in or zoom out, layers will not re-render.
  6. When you try to close QGIS, it will freeze.

Versions

Версия QGIS 3.22.8-Białowieża
Ревизия 8d5e976
Версия Qt 5.15.3
Версия Python 3.9.5
Версия GDAL/OGR 3.5.0
Версия PROJ 9.0.1
Версия базы данных реестра EPSG v10.064 (2022-05-19)
Версия GEOS 3.10.3-CAPI-1.16.1
Версия SQLite 3.38.1
Версия PDAL 2.3.0
Версия PostgreSQL 14.3
Версия SpatiaLite 5.0.1
Версия QWT 6.1.6
Версия QScintilla2 2.13.1
Версия ОС Windows 10 Version 1809

Включенные модули Python
db_manager 0.1.20
grassprovider 2.12.99
MetaSearch 0.3.5
processing 2.12.99
sagaprovider 2.12.99

Also tested on 3.32.3-Lima, same problem

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

BugEither a bug report, or a bug fix. Let's hope for the latter!Crash/Data CorruptionSymbologyRelated to vector layer symbology or renderers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions