svelte-nodegui
svelte-nodegui copied to clipboard
Broken layout on Linux
Image speaks for itself. I haven't touched the code yet, this is my first try with the skeleton repo.
System: Manjaro Linux x86-64 KDE, up-to-date.

Hello... anyone here? @shirakaba
Layout seems to be broken on certain platforms since a certain version of nodegui and I haven't been able to figure out the reason. I don't have a Linux setup and couldn't get things to build/run on my M1 Mac last time I tried, so I'm afraid I can't investigate!
React version works though
Useful info, but I’m afraid I can’t get it to run on my computer!
Is this related to #72?
Ah, yes, this is a duplicate of #72. So the status on that is that we can either have:
@nodegui/[email protected]: working layout, but broken{#each}/{#if};@nodegui/[email protected]to the current latest version (@nodegui/[email protected]), : working{#each}/{#if}, but broken layout.
Obviously neither of these is acceptable.
As mentioned in https://github.com/nodegui/svelte-nodegui/issues/72#issuecomment-1002714286, it may be something to do with user components getting interpreted as SVG despite setting up our preprocessor correctly (as far as I can tell). Perhaps some version of Svelte introduced during 2021 caused user components to be interpreted as SVG or something.
Closing this issue as a duplicate of #72 - please move discussion to there.