Bug report #1803
Double clicking legend in wms layer name does not show property dialog and make the whole system crash
|Category:||Web Services clients/WMS|
|Affected QGIS version:||
|Pull Request or Patch supplied:||
|Crashes QGIS or corrupts data:||
||Copied to github as #:||11863
I loaded a wms layer in qgis version 1.1 and in a self compiled from trunk and did a double clic in the wms layer name in legend, the properties dialog wasn't shown and qgis started to consume a lot of memory until it makes the whole system unstable and crash. I also tested with a debug version and it works correctly.
can you please a post a URL that can be used to test and try reproduce the error?
I've been using this two wms servers
Also I traced the problem to a connect statement QgsLegend::legendLayerShowProperties().
this is the line (around line 733)
connect( rlp, SIGNAL ), this, SLOT ) );
just putting any statement after the connect statement fixes the problem, I put the following line:
QString fix="quick fix";
and now is working.
Can this be considered a patch?
No, I will do some more testing to try to find why the raster properties dialog for wms is very slow and why the connect statement hangs with wms but not with raster. did you reproduce the error?
Replying to [comment:5 gcontreras]:
did you reproduce the error?
yes, I did make to reproduce the error on qgis 1.2 on linux.
- Resolution set to fixed
- Status changed from Open to Closed
I think 247dd62e (SVN r11202) fixes this issue. Please reopen this bug if it isn't.
Also available in: Atom