Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
magicarm22 opened this issue Oct 23, 2023 · 1 comment · May be fixed by #60577
Open
2 tasks done

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

magicarm22 opened this issue Oct 23, 2023 · 1 comment · May be fixed by #60577
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Symbology Related to vector layer symbology or renderers

Comments

@magicarm22
Copy link

magicarm22 commented Oct 23, 2023

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

@magicarm22 magicarm22 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Oct 23, 2023
@agiudiceandrea agiudiceandrea added the Symbology Related to vector layer symbology or renderers label Oct 24, 2023
@agiudiceandrea
Copy link
Member

@magicarm22, thanks for reporting. QGIS 3.22 is no longer supported, anyway I can confirm the issue using the latest currently supported QGIS version QGIS 3.28 and QGIS 3.33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants