Bug report #4158
Zoom to layer extent does not take into account labels
|Affected QGIS version:||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||Copied to github as #:||14135|
If you have labeling turned on and right-click on the layer and choose 'Zoom to layer extent', the labels may be cut off, as they are not included in the extent calculation. (To be clear, this is using the PAL labeling in Layer -> Labeling.)
I'm not sure this is even a bug, but it does seem slightly counterintuitive.
#1 Updated by Giovanni Manghi about 9 years ago
- OS version deleted (
- Operating System deleted (
- Status changed from Open to Feedback
Extent is computed using geometries bounding boxes, I can't see how labels (both old or new ones) can be taken into account. Please leave feedback.