<div dir="ltr">Andreas,<div>I think it can mask itself but you need to get it to refresh which takes toggling the mask on another layer (or something- I haven't actually pinned down when it refreshes) </div><div>In my attached screenshot you can see that there is only one layer and the mask is applied and working on itself but it hasn't yet realized that I removed the copy of the lyer I used to trigger the refresh. </div><img src="cid:ii_lthaoecu4" alt="image.png" width="554" height="179"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2024 at 3:29 PM Andreas Neumann via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Emilie,</div><div><br></div><div>I believe that currently a limitation that a layer cannot mask itself.</div><div><br></div><div>For this to work, you'd have to duplicate the layer - once for the lines and once for the labels - then the mask should work. On the label layer you can disable the drawing of the lines and of course on the line layer you only apply the mask from the other layer, but don't enable any labels.</div><div><br></div><div>Not sure if - or how soon this limitation can be fixed.<br></div><div><br></div><div>Hope this helps,</div><div>Andreas<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Mar 2024 at 21:00, Émilie Berthiaume via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>





<div lang="FR-CA">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to apply a mask on the labels of my contour lines layer in a topographic map project.  I have activated the mask in the labels tab :<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><img width="502" height="367" style="width: 5.225in; height: 3.825in;" id="m_-267034595227935189m_5678223470379831817Image_x0020_2" src="cid:ii_18e15731b1d5b16b22"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">And then I activated the symbol I wanted to hide in the mask tab :<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><img width="531" height="344" style="width: 5.5333in; height: 3.5833in;" id="m_-267034595227935189m_5678223470379831817Image_x0020_3" src="cid:ii_18e15731b1d692e333"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But it doesn’t seem to work.  There is still a line underneath my labels :<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><img width="206" height="158" style="width: 2.1416in; height: 1.65in;" id="m_-267034595227935189m_5678223470379831817Image_x0020_4" src="cid:ii_18e15731b1d7745b44"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can anyone tell me what I am doing wrong?  Thank you,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><i><span style="color:rgb(31,56,100)">Émilie Berthiaume<u></u><u></u></span></i></b></p>
<p class="MsoNormal"><span style="color:rgb(47,84,150)">Enseignante
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(47,84,150)">Département de biologie et Techniques de bioécologie<u></u><u></u></span></p>
<p class="MsoNormal"><span><img width="367" height="39" style="width: 3.825in; height: 0.4083in;" id="m_-267034595227935189m_5678223470379831817Image_x0020_1" src="cid:ii_18e15731b1c4ce8e91"><span><u></u><u></u></span></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<u></u>


<table border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td style="border-width:1pt 0px;border-style:solid;padding:8pt;font-size:10.5pt;font-style:italic;line-height:16pt;color:black;text-align:left">
Ce message est confidentiel et est à l'usage exclusif du destinataire nommé ci-dessus. Si vous recevez ce message par erreur, sachez qu'il est interdit de le diffuser, de le distribuer, d'en dévoiler le contenu ou de le reproduire. Veuillez informer immédiatement
 l'expéditeur par courrier électronique et détruire l'original de ce message ainsi que toute copie.
</td>
</tr>
</tbody>
</table>
</div>

_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br>--<br>Andreas Neumann<br></div><a href="http://QGIS.ORG" target="_blank">QGIS.ORG</a> board member (treasurer)<br></div></div>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">___________________________<br><div dir="ltr"><span>Sebastian "Bas* " Gutwein</span></div><div><span><span>*rhymes with Josh <br></span></span></div><div><span><span><br></span></span></div>Regenerative Design Group<br>1 Chevalier Ave<br>Greenfield, Ma 01301<br>Web: <a href="http://regenerativedesigngroup.com" target="_blank">regenerativedesigngroup.com</a><br>(631) 241-1018<br><br><div dir="ltr"><i><span><span>Look close, think big, make change. </span></span></i></div><div dir="ltr"><span></span></div></div></div>