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

WMS layer properties window freezes when the origin the GetCapabilities document of the origin sever contains thousands of layers #59633

Open
1 task done
giohappy opened this issue Nov 28, 2024 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! WMS data provider

Comments

@giohappy
Copy link
Contributor

giohappy commented Nov 28, 2024

What is the bug or the crash?

The Information tab inside the properties window of a WMS layer shows the full list of layers parsed from the GetCapabilities document when the layer is loaded.

This is problematic when the WMS service includes hundreds or thousands of layers. QGIS freezes or crashes when the Information tab is clicked.

In my opinion, the "Other layers" section under "Information from Provider" is not required and should be removed, since the layer's properties window is related to the single layer, not the origin WMS service.

Steps to reproduce the issue

  1. Configure a WMS service where thousands of layers are published, https://stable.demo.geonode.org/geoserver/ows as an exmplae.
  2. Load any layer
  3. Open the layer's dialog and navigate to the Information tab,

Versions

Tested on QGIS 3.34 and 3.40

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.
@giohappy giohappy added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 28, 2024
@giohappy giohappy changed the title WMS layer's properties window freezes when the origin WMS service's GetCapabilities document contains thousands of layers WMS layer properties window freezes when the origin the GetCapabilities document of the origin sever contains thousands of layers Nov 28, 2024
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! WMS data provider
Projects
None yet
Development

No branches or pull requests

2 participants