nodegui/svelte-nodegui

Broken layout on Linux

M-Gonzalo opened this issue · 6 comments

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.

Screenshot_20220916_134458

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/svelte-nodegui@0.0.3-alpha.1: working layout, but broken {#each}/{#if};
  • @nodegui/svelte-nodegui@0.0.4 to the current latest version (@nodegui/svelte-nodegui@0.1.2), : working {#each}/{#if}, but broken layout.

Obviously neither of these is acceptable.

As mentioned in #72 (comment), 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.