Hi folks :wave: I've got a project that's using Je...
# jewel
p
Hi folks πŸ‘‹ I've got a project that's using Jewel. It works on MacOs. However, when I try to run it inside a Parallels Ubuntu VM (with x86 emulation) and I'm getting the following error:
Copy code
Exception in thread "main" java.lang.IllegalStateException: No TitleBarStyle provided. Have you forgotten the theme?
	at org.jetbrains.jewel.window.styling.TitleBarStylingKt$LocalTitleBarStyle$1.invoke(TitleBarStyling.kt:101)
	at org.jetbrains.jewel.window.styling.TitleBarStylingKt$LocalTitleBarStyle$1.invoke(TitleBarStyling.kt:100)
Version is "0.19.3". Anyone observed this before?
I'm using it on a stand alone app with window decoration btw
s
No, never seen this β€” however things do sometimes randomly break on Linux... Question, are you using the latest version of the JBR 17 to run this?
p
Yeah, I'm using JBR 17. At least that's what's set up on the IDE. But I'll double check.
This is the version. Unsure why it's using aarch given that it's supposed to be x86 emulation πŸ€” However, another colleague tried with a machine with i7 and Ubuntu and had the same issue. @seb I've got a repo if you wanna check what I may be doing wrong πŸ˜…
s
Does the standalone demo in the Jewel repo work? If not, please file a bug πŸ™
p
ok, that's a good shout, let me try that πŸ™‚
πŸ‘ 1
oh poop the sample works, ok it must be some missconfig on my end. Thanks for the suggestion πŸ™‚
s
NW :)
p
Oh my frog πŸ™ˆ I was passing:
Copy code
styling = ComponentStyling.default()
instead of
Copy code
styling = ComponentStyling.default().decoratedWindow()
*to
IntUiTheme
s
I'd lie if I said I never did that XD
πŸ˜… 1