[QGIS-Developer] Settings/Data Source Handling/Prompt: 'never', loads nothing?

Stefanos Natsis uclaros at gmail.com
Wed Jan 24 00:04:02 PST 2024


Hi Richard,

This is intentional. The actual enum and docstrings are quite explicit,
however I can't think of the use case for NeverAskSkip:
```
  AlwaysAsk, //!< Always ask users to select from available sublayers, if
sublayers are present
  AskExcludingRasterBands, //!< Ask users to select from available
sublayers, unless only raster bands are present
  NeverAskSkip, //!< Never ask users to select sublayers, instead don't
load anything
  NeverAskLoadAll, //!< Never ask users to select sublayers, instead
automatically load all available sublayers
```
I believe this info should be added to a tooltip to avoid user confusion.

However, for the case of single layer geopackage, I never get a sublayers
dialog regardless of this setting. The layer is always loaded as I believe
you need to have more than one Layer for it to be considered a SubLayer.

Best
Stefanos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240124/e7faf96e/attachment.htm>


More information about the QGIS-Developer mailing list