<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 Etienne,</p>
<p><br />It is normal that backwards compatibility of projects is generally not guaranteed.</p>
<p><br />However, if it can be done with little effort, especially for highly visible functionalities such as style, it can be an important advantage to motivate our services to migrate to the latest LTR version in a progressive manner (and thus with a temporarily heterogeneous version park).</p>
<div> </div>
<div>Alain</div>
<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 03/05/2023 10:33, > etienne.trimaille 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="ltr">
<div>This PR was about the symbology, but we noticed there are many other parts of the QGS file which are not backward compatible.</div>
<div>If I'm not wrong :</div>
<div>- a WMS shortname on a group made with QGIS 3.20 can not be read with QGIS 3.18.</div>
<div>- field server configuration made with QGIS 3.16 can not be read with QGIS 3.14</div>
<div>- ...</div>
<div> </div>
<div>These settings, (which are way older in the QGIS development, i.e already present in QGIS 2), are just lost when read with a lower version of QGIS.</div>
And obviously, all new features, options, checkbox etc are lost as well.<br />
<div> </div>
<div> </div>
<div>I understand, it's not easy to migrate a lot of softwares and to follow all their versions in a big organization.</div>
<div>But using a QGIS recent version to write a file and then ask a lower version QGIS to read is, anyway, leading to some reading issues I would say. The PR was indeed trying to keep some backward compatibility about symbology, which was nice, but there are other settings which are lost already, so I would be careful with other settings in general ;-)</div>
<div> </div>
<div>Just for your information, but I noticed these other settings as well ;-)</div>
<div> </div>
<div> </div>
</div>
<br />
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">Le mar. 2 mai 2023 à 09:38, 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: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div 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 0px; 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 0px;">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: 0px none; line-height: 10pt; border-collapse: collapse; width: auto; background-color: #ffffff;">
<tbody>
<tr style="border: 0px none;">
<td style="padding: 0px;"><img src="./?_task=mail&_id=1415722127645220d29dd10&_action=display-attachment&_file=rcmfile13751683103954085863300" alt="Marianne" /></td>
<td style="border: 0px none; text-align: left; vertical-align: middle; padding: 0px 0px 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: 0px none;">
<td style="border-color: currentcolor #3c3c3c currentcolor currentcolor; border-style: none solid none none; border-width: 0px 1.5px 0px 0px; text-align: left; vertical-align: middle; padding: 5px 15px 5px 0px;" 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: 0px none;">
<td style="border: 0px none; text-align: left; vertical-align: top; padding: 3px 0px 0px;" align="left" valign="top"><img src="./?_task=mail&_id=1415722127645220d29dd10&_action=display-attachment&_file=rcmfile13751683103954086130300" 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 style="padding: 0px 0.4em; border-left: 2px solid #1010ff; margin: 0px;">
<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: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; 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 0px; 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 0px;">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: 0px none; line-height: 10pt; border-collapse: collapse; width: auto; background-color: #ffffff;">
<tbody>
<tr style="border: 0px none;">
<td style="padding: 0px;"><img alt="Marianne" /></td>
<td style="border: 0px none; text-align: left; vertical-align: middle; padding: 0px 0px 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: 0px none;">
<td style="border-color: currentcolor #3c3c3c currentcolor currentcolor; border-style: none solid none none; border-width: 0px 1.5px 0px 0px; text-align: left; vertical-align: middle; padding: 5px 15px 5px 0px;" 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: 0px none;">
<td style="border: 0px none; text-align: left; vertical-align: top; padding: 3px 0px 0px;" 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>
</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>
</blockquote>
</body></html>