Problem with an empty Geopackage layer and zoom to group #24620
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: Saber Razmjooei (@saberraz)
Original Redmine Issue: 16721
Affected QGIS version: master
Redmine category:data_provider/ogr
Zoom to group does not work if one of the layers under the group is an empty gpkg layer. It locks the panning function. In addition the rendering locks even if you turn off all other layers.
To reproduce the bug:
1- Create a group in the layer tree and add some of your existing non-empty layers there
2- Select zoom to the group, which should work at this point
3- Create a new geopackage and add the layer to the group
4- Select zoom to the group
5- Now, try to pan...the canvas does not move
6- Turn off all the layers...still canvas shows the previous rendered layers
Please note, that with empty shapefile or spatialite you DO NOT have this issue.
The issue affects 2.18 and master
The text was updated successfully, but these errors were encountered: