<div dir="ltr">Sorry Bernhard was my mistake... I had a layer but it was composed of circular polygons similar to point.<div><br></div><div>sorry for the noise</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On 4 December 2013 07:50, Bernhard Ströbl <span dir="ltr"><<a href="mailto:bernhard.stroebl@jena.de" target="_blank">bernhard.stroebl@jena.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Gino,<br>
<br>
can you confirm what I described (_one_ point selected, does not zoom)?<br>
<br>
I tried with f21562c on OpenSuse 64 bit.<br>
<br>
Bernhard<br>
<br>
Am 03.12.2013 18:01, schrieb Gino Pirelli:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
not confirmed in f21562c<br>
not confirmed in f1f2e16<br>
<br>
<br>
On 3 December 2013 16:40, Vincent Mora<<a href="mailto:vincent.mora@oslandia.com" target="_blank">vincent.mora@oslandia.com</a><u></u>>  wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I observed the same behavior (qgis master) with two points alligned on x<br>
(a very simple layer indeed).<br>
<br>
<br>
On 02/12/2013 12:15, Bernhard Ströbl wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear devs,<br>
<br>
today I stumbled on a strange behaviour when zoooming to a point.<br>
To reproduce: load a point layer, select one feature in the table and<br>
click "Zoom to selection". The result is the same as if clicking "Pan map<br>
to Selection", i.e the map is panned but not zoomed.<br>
I _think_ this is because the bounding box of the selected feature has a<br>
width and height of 0. Try iface.activeLayer().<br>
boundingBoxOfSelected().width(<u></u>)/.height() in the Python console.<br>
Geometrically speaking this is correct but as the zoom to selected<br>
function builds on a bounding box with width/height>  0 the outcome for the<br>
user is bad.<br>
My suggestion would be to define a small rectangle around the bounding<br>
boxes' center if it has size 0 in the zoomToSelected function.<br>
<br>
Tried with QGIS 2.0.1 and current master<br>
<br>
Shall I file a ticket for this?<br>
<br>
Bernhard<br>
<br>
<br>
__________ Information from ESET Mail Security, version of virus<br>
signature database 9119 (20131202) __________<br>
<br>
The message was checked by ESET Mail Security.<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
<br>
</blockquote>
<br>
<br>
<br></div></div>
__________ Information from ESET Mail Security, version of virus signature database 9125 (20131203) __________<div class="im"><br>
<br>
The message was checked by ESET Mail Security.<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
<br>
<br></div>
__________ Information from ESET Mail Security, version of virus signature database 9125 (20131203) __________<div class="im"><br>
<br>
The message was checked by ESET Mail Security.<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<br>
</div></blockquote>
<br>
<br>
<br>
__________ Information from ESET Mail Security, version of virus signature database 9127 (20131203) __________<div class="HOEnZb"><div class="h5"><br>
<br>
The message was checked by ESET Mail Security.<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
</div></div></blockquote></div><br></div>