Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
starg09 opened this issue Oct 16, 2023 · 2 comments
Assignees

Comments

@starg09
Copy link

starg09 commented Oct 16, 2023

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

  • Windows 11 Pro
  • IntelliJ IDEA 2023.2.3 (Ultimate Edition)
    • Build #IU-232.10072.27, built on October 11, 2023
    • Runtime version: 17.0.8.1+7-b1000.32 amd64
    • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • Vaadin Designer (IntelliJ plugin) 4.6.23
  • Project is a maven project running Vaadin 8.14.3

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

  • Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)
    • Version: 2023-09 (4.29.0)
    • Build id: 20230907-1323
  • Vaadin Designer (Eclipse plugin) 4.6.23
  • Same maven vaadin 8 project as above
@starg09
Copy link
Author

starg09 commented Nov 15, 2023

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
Copy link

@szolo is this ticket still valid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 Needs triage
Development

No branches or pull requests

3 participants