<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi Stephen,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>You might let us know your operating system and which version of QGIS you are using because it works as you desire in the latest development (3.24.3)  and Long Term Release versions (3.22.7). It may just be a matter of updating QGIS.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Cheers - Phil<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Qgis-user <qgis-user-bounces@lists.osgeo.org> <b>On Behalf Of </b>Stephen Sacks via Qgis-user<br><b>Sent:</b> Sunday, 29 May 2022 5:29 AM<br><b>To:</b> qgis forum <qgis-user@lists.osgeo.org><br><b>Subject:</b> [Qgis-user] adding a layer from a zipped file<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:13.5pt'><br>When I write a layer as a shape file, it appears on my C: drive as six files, all with the same name but different extensions.  Then I zip those six into a single file (xxx.zip).  When I reload that layer from the zip file (Layer > AddLayer > VectorLayer > File > Dataset > xxx.zip), QGIS is almost smart enough to restore the layer correctly.  The polygon features are in the right place and their attribute table is correct.    <b>My problem</b> is that it ignores one of the six files, the "style" file (xxx .qml) which  specifies color, labeling, and symbol).  Do I  have to unzip before restoring layer xxx ?  I know I could open the layer's properties and use  Style > Load Style from  file xxx.qml .  But when I'm restoring several layers that's a lot of key strokes (and may require that I unzip).  It seems to me that this shouldn't be necessary.  [I encounter the same problem with point layers and polygon layers.]<br><br></span><o:p></o:p></p></div></body></html>