Bug report #15775
Zoom to selection zooms more than needed
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | Map Canvas | ||
Affected QGIS version: | 2.18.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | not reproducable |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 23696 |
Description
Select a feature
Click on the zoom to selection button
You'll get the selected feature on the screen, but not entirely.
This happens whatever tool you use to zoom to feature (within attribute table dialog, context menu, from main toolbar, from View menu...). the function itself is broken.
This is a regression.
History
#1
Updated by Giovanni Manghi about 8 years ago
- Status changed from Open to Feedback
I cannot really replicate with 2.18.4 on both Windows and Linux.
Can you add more details (datasource, type of geometries, etc.)?
#2
Updated by Harrissou Santanna about 8 years ago
#3
Updated by Giovanni Manghi about 8 years ago
- it fails to render all the geometry on 2.18.3-dev (f1379e8) or 2.18.4, regardless the data format (PG vs shapefile, line vs polygon)
it works as expected here on Win 10 and 2.18.4, can you post a sample of your data and a screenshot to understand better what you see? thanks.
#4
Updated by Ger CO about 8 years ago
Giovanni Manghi wrote:
- it fails to render all the geometry on 2.18.3-dev (f1379e8) or 2.18.4, regardless the data format (PG vs shapefile, line vs polygon)
it works as expected here on Win 10 and 2.18.4, can you post a sample of your data and a screenshot to understand better what you see? thanks.
Zoom level is too high here as well. I am on win 7 64, qgis 2.18.4
#5
Updated by Giovanni Manghi about 8 years ago
Zoom level is too high here as well. I am on win 7 64, qgis 2.18.4
please post an image. Thanks.
#6
Updated by Harrissou Santanna about 8 years ago
- File zoomtoselection.PNG added
- File zoomtoselection.zip added
I added some dummy data that produces this bug (actually it happens with any data) and a screenshot. Still failing zoom with 3057738.
Hope that helps.
#7
Updated by Giovanni Manghi about 8 years ago
- File Screenshot_20170303_163242.png added
Harrissou Santanna wrote:
I added some dummy data that produces this bug (actually it happens with any data) and a screenshot. Still failing zoom with 3057738.
Hope that helps.
works perfecty here on the very same feature you pictured in the screenshot.
Please try when a clean environment and no 3rd party plugins.
#8
Updated by Harrissou Santanna about 8 years ago
Weird...
I just ran qgis --defaultui --nocustomization --noplugins
(altogether and separately) and adding the layer still gives me a truncated zoom.
Given that it seems related to Windows, did you check on a Windows ( I use osgeo4w-64) installation?
Thanks Giovanni for your tests and dedication to QGIS
#9
Updated by Giovanni Manghi about 8 years ago
Harrissou Santanna wrote:
Weird...
I just ranqgis --defaultui --nocustomization --noplugins
(altogether and separately) and adding the layer still gives me a truncated zoom.
Given that it seems related to Windows, did you check on a Windows ( I use osgeo4w-64) installation?
still no issues here on Win.
Can you try recreate the spatial index for you data?
Thanks Giovanni for your tests and dedication to QGIS
thanks!
#10
Updated by Giovanni Manghi almost 8 years ago
- Resolution set to not reproducable
- Status changed from Feedback to Closed
Closing for lack of feedback, please reopen of necessary.