<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Denis,</p>
<p>Thanks for your feedback.</p>
<p>I think that re-introducing backwards compatibility in QGIS 3.28 would be valuable for our services. The size of the project files is not too critical in my opinion compared to the size of the data files, which are usually much larger.</p>
<p>Is this possible for QGIS 3.28.7?</p>
<p>Alain</p>
<div>---<br />
<p><strong>Alain FERRATON</strong></p>
<div style="line-height: 10pt; margin: 10px 0; font-family: marianne,arial,sans-serif;">
<div style="font-size: 9pt;"><span style="font-size: 8pt;">Adjoint au chef de groupe<br />MSP/DS/GSG<br />Direction du numérique | Secrétariat général</span></div>
<p style="font-size: 8pt; margin: 15px 0;">MAN 7, rue René Viviani 44200 NANTES<br />Bureau : MAN étage 1 plateau B<br />Tel : +33 240128408 - Mobile : +33 671794593<br /><span><a style="color: #000000; font-size: 8pt; font-weight: bold; text-decoration: none;" href="https://www.ecologie.gouv.fr">www.ecologie.gouv.fr</a><br /></span></p>
<table style="border: 0; line-height: 10pt; border-collapse: collapse; width: auto; background-color: #fff;">
<tbody>
<tr style="border: 0;">
<td style="padding: 0;"><img src="cid:f30d6c6d6149e6cecc2407a9c23b8704@developpement-durable.gouv.fr" alt="Marianne" /></td>
<td style="border: 0; text-align: left; vertical-align: middle; padding: 0 0 15px 15px;" rowspan="3" align="left" valign="center"><span style="display: block; font-weight: bold; font-size: 9pt; line-height: 9pt; color: #000000; max-width: 200px;">Secrétariat général</span></td>
</tr>
<tr style="border: 0;">
<td style="border: 0; border-right: 1.5px solid #3c3c3c; text-align: left; vertical-align: middle; padding: 5px 15px 5px 0;" align="left" valign="top"><span style="font-size: 15.25px; font-weight: bold; line-height: 16.25px; color: #000000;">MINISTÈRES<br />TRANSITION ÉCOLOGIQUE<br />COHÉSION DES TERRITOIRES<br />TRANSITION ÉNERGÉTIQUE<br />MER</span></td>
</tr>
<tr style="border: 0;">
<td style="border: 0; text-align: left; vertical-align: top; padding: 3px 0 0 0;" align="left" valign="top"><img src="cid:546dad112c97b52f3e7ff8d8ba610063@developpement-durable.gouv.fr" alt="liberté, égalité, fraternité" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><br /></p>
<p>Le 28/04/2023 10:02, > denis.rouzaud a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="auto">
<div>Hi Alain,
<div dir="auto"> </div>
<div dir="auto">Yes, the backward compatibility to 3.16 has been removed in 3.28, considering there was a LTR in between and that 3.16 was not maintained for more than a year.</div>
<div dir="auto">
<div dir="auto"> </div>
<div dir="auto">The PR is here <a href="https://github.com/qgis/QGIS/pull/45143" target="_blank" rel="noopener noreferrer">https://github.com/qgis/QGIS/pull/45143</a></div>
<div dir="auto"> </div>
<div dir="auto">I am not sure if it's possible to do it with a plugin.</div>
<div dir="auto">An approach would be to revert this in the 3.28 branch to give more time. I have no strong opinion here. The main motivation to drop compatibility was the size of the project file and redundancy of information (manually editing the file gets harder).</div>
<div dir="auto"> </div>
<div dir="auto">Denis</div>
</div>
<br /><br />
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">Le jeu. 27 avr. 2023, 09:08, FERRATON Alain (Adjoint au chef de groupe) - SG/DNUM/MSP/DS/GSG via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> a écrit :</div>
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi</p>
<p>A polygon layer saved in a project file with QGIS 3.28 is systematically opened in blue in QGIS 3.16 (the style is lost).</p>
<p>There has been a change in the storage of style in project files introduced in QGIS 3.22.</p>
<p>QGIS 3.22 save the style in both formats (<Option.../></p>
<p>and <prop k=.../></p>
<p>(see the attachment)</p>
<p>This is no longer the case in QGIS 3.28</p>
<p>We have a heterogeneous QGIS version park. The non backward compatibility of style is an important brake to migrate progressively our services to QGIS 3.28</p>
<p>We could consider developing or having developed a plugin to ensure this backward compatibility.<br />Is this possible? What would be the best way to proceed? Can we find documentation on the storage of styles in QGIS project files and on its evolution?<br />(I didn't find anything relevant by searching on the internet).</p>
<p>Sincerely,</p>
<div>-- <br />
<p><strong>Alain FERRATON</strong></p>
<div style="line-height: 10pt; margin: 10px 0; font-family: marianne,arial,sans-serif;">
<div style="font-size: 9pt;"><span style="font-size: 8pt;">Adjoint au chef de groupe<br />MSP/DS/GSG<br />Direction du numérique | Secrétariat général</span></div>
<p style="font-size: 8pt; margin: 15px 0;">MAN 7, rue René Viviani 44200 NANTES<br />Bureau : MAN étage 1 plateau B<br />Tel : +33 240128408 - Mobile : +33 671794593<br /><span><a style="color: #000000; font-size: 8pt; font-weight: bold; text-decoration: none;" href="https://www.ecologie.gouv.fr" target="_blank" rel="noopener noreferrer">www.ecologie.gouv.fr</a><br /></span></p>
<table style="border: 0; line-height: 10pt; border-collapse: collapse; width: auto; background-color: #fff;">
<tbody>
<tr style="border: 0;">
<td style="padding: 0;"><img alt="Marianne" /></td>
<td style="border: 0; text-align: left; vertical-align: middle; padding: 0 0 15px 15px;" rowspan="3" align="left" valign="center"><span style="display: block; font-weight: bold; font-size: 9pt; line-height: 9pt; color: #000000; max-width: 200px;">Secrétariat général</span></td>
</tr>
<tr style="border: 0;">
<td style="border: 0; border-right: 1.5px solid #3c3c3c; text-align: left; vertical-align: middle; padding: 5px 15px 5px 0;" align="left" valign="top"><span style="font-size: 15.25px; font-weight: bold; line-height: 16.25px; color: #000000;">MINISTÈRES<br />TRANSITION ÉCOLOGIQUE<br />COHÉSION DES TERRITOIRES<br />TRANSITION ÉNERGÉTIQUE<br />MER</span></td>
</tr>
<tr style="border: 0;">
<td style="border: 0; text-align: left; vertical-align: top; padding: 3px 0 0 0;" align="left" valign="top"><img alt="liberté, égalité, fraternité" /></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
_______________________________________________<br /> QGIS-Developer mailing list<br /> <a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br /> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
</div>
</div>
</blockquote>
</body></html>