<div dir="ltr"><div>Hello everyone,</div><div><br></div><div>I'm developing a QGIS plugin along with PostGIS and I'm facing some problems with labeling. This plugin creates several layers and tables. Some of these layers are views  (labeling layers), so if I edit the one fo the source layer the view changes and then the label. I explain more detailed:</div><div><br></div><div>I have the following:</div><div><ul><li>One layer. Let's call it <b>layer1</b>.<br></li><li>One none spatial table. Let's call it <b>table1</b>.</li><li>One spatial view from these other two layers <i>layer1</i> and <i>table1</i> meant for labeling. Let's call it <b>labelView1</b>.</li></ul><div>The point is this, when I edit <i>table1</i> adding a new element linked by a foreign key with <i>layer1</i>. The label position in <i>labelView1</i> changes into a messy thing. The Style of <i>labelView1 </i>is the following:</div><div><ul><li>Symbol is a <i>geometry generator</i>. Since I want to create callouts from label to the geometry, wich is a point.</li><li>The position of the label is saved on project. In the qgd file.</li></ul><div>I have seen this behaviour in Windows10 and in Ubuntu. The QGIS version is 3.4, but I tried to move to the new 3.10 version of QGIS, with the callouts new feature, but is the same result. <br></div><div><br></div><div>As well I tried to reproduce it in a much simple way, but without succed, that's why I want to share a link with a GIF file showing this issue:</div><div><br></div><div><a href="https://gifyu.com/image/vMY7" target="_blank">https://gifyu.com/image/vMY7</a></div><div><br></div><div>I've done the same but without fixed position,and the labels don't move, but the geometry_generator does.<br></div></div><div><br></div><div>Is this a bug? Is there any way to prevent it?<br></div></div><div><br></div><div>Thanks.<br></div><div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span><font color="#888888"><span><font color="#888888">Luís Miguel Royo Pérez. <br>Analista-Programador GIS<br>C/ Antic Regne de Valencia nº 4. Manises (Valencia)<br>Teléfono:+34  679846103 <br>webs: </font></span></font></span></div><div style="margin-left:40px"><span><font color="#888888"><span><font color="#888888"><a href="http://inisig.com" target="_blank">inisig.com </a><br></font></span></font></span></div><div style="margin-left:40px"><span><font color="#888888"><span><font color="#888888"><a href="https://geofibra.com" target="_blank">geofibra.com</a><br></font></span></font></span></div><div><span><font color="#888888"><span></span></font></span><span><font color="#888888"><span><font color="#888888"><br></font></span></font></span><br></div></div></div></div></div></div></div></div></div>