I have a couple of default styles stored in a spatialite db. When I add the layer for which I have defined the default style in QGIS 2.14.22, everything looks good but trying the same in QGIS 2.18.16 sets only a generic style (cp. screenshot). The
layer_styles table looks like this:
Added a layer with default style in QGIS 2.14.22:
Added the same layer in QGIS 2.18.16:
Note that I am able to manually load the style from the database in 2.18, and everything looks like expected, but I need to load the default style automatically when adding a layer. QGIS 2.18 can obviously load the style from the table, but does not recognize the default correctly.
The styles are created and stored with QGIS 2.14., so are there any compatibility issues that I miss?