Bug report #21398

Feature Count unavailable for geopackage layers displayed after running a processing algorithm

Added by Joseph Holler about 5 years ago. Updated about 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/Core
Affected QGIS version:3.4.4 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29215

Description

I'm running 3.4.4 on Windows 10.
I am saving the output of any processing algorithm or model (for example, specifically testing with the QGIS Centroids algorithm and one of my own graphic models) to an existing geodatabase with the Save to geopackage... option for outputs. I'm using the "open file output after running algorithm" option to add the layer to the map automatically. The resulting layer always displays 0 features for the feature count with the "show feature count" option in the Layers panel.
The same table added directly from the geopackage later DOES display a correct feature count.
The same operation (Centroids) saved as a shapefile and opened after running algorithm DOES display a correct feature count.
The issue thus seems isolated to the combination of saving a geopackage layer and having it automatically displayed after the algorithm runs.

History

#1 Updated by Giovanni Manghi about 5 years ago

  • Operating System deleted (Windows 10)

confirmed... up to master... both linux and windows.

Also available in: Atom PDF