Leads not drawing on map using the move function
Opened this issue · 13 comments
While using QGIS 2.6.1 and the EasyCustomLabeling v1.3.2 plugin - I am unable to have leads show up on the map. I am able to create the centroids with the correct label names (as per the instructions). However when I try to move the labels, the leads show up temporarily (in red) but then disappear when I place the label in the new location. I have installed the Memory Layer Saver as mentioned in the instructions. I have looked at all existing issues and have not been able to find a resolution.
I am using WIndows 7 Enterprise - 64-bit.
Thank you
Thanks for your feedback, I didn't have time to solve 2.6 issues yet.
Thank you for the response. As additional information, I had the same problem with previous versions of qgis. I am going to try a previous version of qgis to see if I can replicate the problem.
Just as an FYI - I experience the same problem in 2.4. Thank you
Hi, and happy new year,
Bug confirmed here if labeled layer is renamed to something not starting with "label_". There is a tag added in layer's metadata to identify it if layer is renamed, but it seems to fail.
temporary workaround: rename layer with "label_" at the beginningof the layer name.
Could you test with the new version of EasyCustomLabeling.py (just copy and overwrite existing one in your qgis profile). It solves the issue here, but it's unclear why.
Hello and Happy New Year to you as well. I have tried the new version of EasyCustomLabeling.py but with the same results. I have not been changing the layer names. I am following the instructions very closely and I still cannot get the leaders to show. Do you have any other suggestions?
Thank you
A quick update. After some testing, I have discovered that once I move the label, then select Label Properties -> and select the "Show label" box off then back on - the label shows correctly (until I move it again). Strange behaviour. Hope this helps.
Thanks for testing, I suspect some refresh problem for layer symbology, maybe coming from other interfering plugins. Could you make the following test ?
- open layer properties / symbol properties
- on su symbol, open "data defined properties" button
- uncheck expression set on dashed pattern.
FYI, this expression is a trick to hide callout line if dedicated field ShowCA is set to 0.
So I tried what you suggested and when I opened the "data defined properties" the "dashed pattern" box was already unchecked. However the "color box" was checked. When I unchecked it, it worked as expected. The leaders all showed up properly without having to change the setting in the "Show Label" box. I have included a screenshot to show what the "color box" was set to.
Ok, I will disable that option in next version then. Remains to understand why graphical refresh does not behave the same way on every QGIS. On what platform are you working? Launching QGIS with no plugin except EasyCustomlabeling and memory layer saver still trigger the problem?
I am working on Windows 7 Enterprise - 64-bit. I also tried your suggestion of disabling all plugins with the exception of EasyCustomLabeling nd Memory Layer Saver with the same results. It did not change anything.
Sorry to have you make so much testing, I really never reproduce that since I change the code yesterday. There is a new version of EasyCustomLabeling.py now that tries to trigger better layer refresh and solves some deprecations warnings for 2.6 versions. Can you test it ?
No worries on the testing - glad to do it. I have tried the new code and the problem persists. I am quite happy with the temporary fix and can close this issue if you wish. However if you wish for me to continue testing, I am more than happy to.