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

i2dotnet created an issue. See original summary.

i2dotnet’s picture

Version: 7.x-1.x-dev » 7.x-1.9
rivimey’s picture

Assigned: i2dotnet » Unassigned

Unassign: if bug is assigned it means that person is investigating it, which seems not to be the case.

abramm’s picture

May be related to / fixed by https://www.drupal.org/node/2897741 .

geek-merlin’s picture

Version: 7.x-1.9 » 7.x-1.x-dev
Priority: Major » Normal
Status: Needs review » Postponed (maintainer needs more info)

Please check if #2897741: Stylizer CSS ID depends only on palette fixes this, then reopen or close.

geek-merlin’s picture

MustangGB’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Closed (duplicate)