Hi All,
I identified a problem when using a custom style created with stylizer module.
Create a custom style with stylizer, and then apply it to a region/style in a given panel.
Then, change back the style of the region/pane to default.
Disable the stylizer module.
What happens is that the pane will no longer show when you view the page.
The problem I identified is the following:
when you apply your custom style to your region/pane, not only the style of the region/pane is set to stylizer.
The whole display style is also set to stylizer.
That means that when you further choose default as a style for a region/pane, it will actually choose the display style (previously erroneously set to default).
And if the stylizer module is disabled, then nothing will be shown.
However, I cannot find which precise line in the code is causing the problem!
Tip: You can actually check that the display style is set to stylizer by doing an export to the display (variant) and looking at the style property of the panel settings array.
This problem seems to occur only when you apply a pre built style.
If you use directly the style builder to apply a stylizer style for your region/panel, the problem will not be there...
Comments
Comment #2
i2dotnet CreditAttribution: i2dotnet commentedComment #3
rivimeyUnassign: if bug is assigned it means that person is investigating it, which seems not to be the case.
Comment #4
abrammMay be related to / fixed by https://www.drupal.org/node/2897741 .
Comment #5
geek-merlinPlease check if #2897741: Stylizer CSS ID depends only on palette fixes this, then reopen or close.
Comment #6
geek-merlinComment #7
MustangGB CreditAttribution: MustangGB commented