[Qgis-user] QGIS layer styles not persisting in project

Yvan CALCAGNI yvan.calcagni at fredon-aura.fr
Wed Mar 16 06:32:01 PDT 2022


you're right Bernd for my logo, i saw that too, sorry.
anyway, my problem is solved, i let her the workaround : i had to 
re-create a new profile! my first one was too old i presume. So, with my 
new profile, layer styles i configured previously in the project appears 
again!

see you guys

Le 16/03/2022 à 14:11, Bernd Vogelgesang a écrit :
>
> ahh, this feature must have slipped in without noticing.
>
> I knew only Properties-> Style -> add...  and tried this years ago. It 
> didn't work well by this time so I forgot about it.
>
> Anyway, so it seems you expect, that when you switch a style for a 
> layer, and then add a theme, that this style will be preserved for the 
> layer in this theme?
>
> p.s. better send you mails withour you logo. Answering with quoting 
> already exceeds the 100kb per mail.
>
> Am 16.03.22 um 13:50 schrieb Yvan CALCAGNI:
>>
>> Bernd, indeed you can have several named styles for one layer, Qgis 
>> allows that
>>
>> Right-click the layer to open the context menu --> Go toStyles-->Add
>>
>>
>>
>> Le 16/03/2022 à 13:15, Bernd Vogelgesang via Qgis-user a écrit :
>>> How can one multiply a style for one layer?
>>> You can duplicate a layer multiple times and create an own style for 
>>> each and then set an indivual theme.
>>> If thats what you do, and it doesn't work, i have no clue.
>>>
>>> Layer styles are always saved in project files by default.
>>> What do you mean with other format?
>>>
>>>
>>>
>>> On 16.03.22 12:18, Yvan CALCAGNI via Qgis-user 
>>> <qgis-user at lists.osgeo.org> wrote:
>>>> Hi everyone,
>>>> in one of my project I'm setting up multiple styles for one the 
>>>> layers,
>>>> to make these styles matching the right project theme.
>>>>
>>>> So I save the project but every times I'm re-opening it, layer styles
>>>> have disappeared.  Layer styles are never saved in project file? To 
>>>> make
>>>> it work, the only solution is it to have geopackage layers (with
>>>> embedded style permitted by that format)? What if the layer is in
>>>> another format? multiple layer styles are forbidden in that case?
>>>>
>>>> I'm running Qgis 3.24 standalone
>>>>
>>>> Thank you guys!
>>>>
>>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220316/46c974b4/attachment.html>


More information about the Qgis-user mailing list