vaadin / designer

Public repository for Vaadin Designer
https://vaadin.com/designer
15 stars 3 forks source link

CSS not working for Vaadin 8 Designer views in IntelliJ (works fine in Eclipse) #2457

Open starg09 opened 11 months ago

starg09 commented 11 months ago

Steps to reproduce

Open a view design for Vaadin 8 in IntelliJ, then in Eclipse

Actual behavior

The IntelliJ editor has no CSS applied to the editor's view: image IntelliJ's internal editor

image Opening with an external browser (console log attached)

Expected behavior

I'd expect the view to apply the project's css, just as it does in Eclipse by opening the exact same project and views, no additional changes:

image Eclipse's internal editor

image Opening with an external browser

IDE, Designer and OS version

Just as to also include for reference, the working Eclipse version is, on the same machine:

starg09 commented 10 months ago

Update with additional info on this, as I'm slightly dumb and only recently realized:

We do have a custom "apptheme" theme. It's made in scss, which apparently is caught on by eclipse. In IntelliJ however, we get the result shown above. As a workaround, the valo theme can be selected for debugging on an usable preview, but theme must be rolled back to apptheme before actually commiting.

Feel free to ask anything that may be relevant in this regard, if useful 😊

mcollovati commented 3 months ago

@szolo is this ticket still valid?