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

[GUI][Processing] The "Selected features only" checkbox is incorrectly disabled / enabled although the layer has / has not selected features #60108

Open
2 tasks done
agiudiceandrea opened this issue Jan 10, 2025 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience Processing Relating to QGIS Processing framework or individual Processing algorithms Regression Something which used to work, but doesn't anymore

Comments

@agiudiceandrea
Copy link
Contributor

agiudiceandrea commented Jan 10, 2025

What is the bug or the crash?

In some circumstances, the "Selected features only" checkbox in the processing algorithms' GUI is disabled although the input layer has selected features or is enabled although the input layer has not selected features.

Video_2025-01-10_133511.mp4

Steps to reproduce the issue

  1. in a new project add the "World Map" Easter-egg layer
  2. create a "New scratch layer" point memory layer and add 1 point feature
  3. ensure that the "New scratch layer" layer is the active layer and select the point feature in it
  4. open any processing algorithm dialog window, e.g. the "Buffer" processing algorithm (the Input layer parameter is automatically set to the "New scratch layer" layer)
  5. observe that the "Selected features only" checkbox is incorrectly disabled although it has a selected feature
  6. close the processing algorithm dialog window
  7. deselect the point feature in the "New scratch layer" layer
  8. make the "World Map" layer the active layer and select a feature in it
  9. make the "New scratch layer" layer the active layer and open any processing algorithm dialog window, e.g. the "Buffer" processing algorithm (the Input layer parameter is automatically set to the "New scratch layer" layer)
  10. observe that the "Selected features only" checkbox is incorrectly enabled although it has not any selected feature

Versions

QGIS LTR 3.34.14 and QGIS 3.40.2 (OSGeo4W) on Windows

QGIS version3.40.2-Bratislava
QGIS code revision14826ca1
 
Libraries
Qt version5.15.13
Python version3.12.8
GDAL/OGR version3.9.3
PROJ version9.5.0
EPSG Registry database versionv11.016 (2024-08-31)
GEOS version3.13.0-CAPI-1.19.0
SQLite version3.46.1
PDAL version2.8.1
PostgreSQL client version16.2
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 10 Version 1903
 
Active Python plugins
db_manager0.1.20
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

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

New profile

Additional context

The issue didn't occur running QGIS <= 3.22, while it occurs using QGIS >= 3.26.

@agiudiceandrea agiudiceandrea added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms GUI/UX Related to QGIS application GUI or User Experience Regression Something which used to work, but doesn't anymore labels Jan 10, 2025
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! GUI/UX Related to QGIS application GUI or User Experience Processing Relating to QGIS Processing framework or individual Processing algorithms Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant