<div dir="ltr">Thanks, Nyall.<br><br>> (But it makes me think -- instead of the (offline) suffix used by<br>default, a nicer behaviour would be to instead leave the name<br>unchanged and show a new indicator icon representing "offline"<br>status!)<br><br>Such an icon would be nice anyway regardless if there is a suffix or not. The default suffix should be (offline) to provide full backwards compatibility. Of course modern plugins will not use any suffix then.<div><br></div><div>CheersĀ </div><div>Dave<br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 13, 2020 at 12:53 AM Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</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">On Tue, 13 Oct 2020 at 05:29, David Signer <<a href="mailto:david@opengis.ch" target="_blank">david@opengis.ch</a>> wrote:<br>
><br>
> Hi there<br>
><br>
> Last week there was a discussion regarding the issues with the offline editing plugin already.<br>
> One of the main problems with the projects created by the offline editing functions are the layernames. They get the static suffix " (offline)". This leads to issues with expressions or widgets like e.g. the value relation.<br>
><br>
> We thought about solving it by adding a parameter called suffix to the function. This suffix should be " (offline)" by default.<br>
> But it gives Plugins like e.g. QFieldSync the possibility to pass an empty suffix, what will keep the layername unchanged and would fix the issues in the expressions and widgets. It would be completely backwards compatible and would not have any influence on other parts of the code.<br>
><br>
> Would this Bugfix have a chance to be in the patch release 3.16.1?<br>
<br>
This is perfectly acceptable -- feel free to open a PR for 3.16.0.<br>
We've always allowed API revisions, refactoring, and code<br>
optimisations during freeze.<br>
<br>
(But it makes me think -- instead of the (offline) suffix used by<br>
default, a nicer behaviour would be to instead leave the name<br>
unchanged and show a new indicator icon representing "offline"<br>
status!)<br>
<br>
Nyall<br>
<br>
<br>
<br>
><br>
> Thanks for your feedback and cheers<br>
> Dave<br>
><br>
> --<br>
> David Signer - signedav<br>
> <a href="mailto:david@opengis.ch" target="_blank">david@opengis.ch</a><br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>