https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • f

    full-journalist-82607

    08/31/2022, 11:19 AM
    4.2.4
  • p

    powerful-morning-89

    08/31/2022, 11:21 AM
    Basic HaxeUI project using OpenFL, compiled to neko using haxe 4.2.4 gives me the same stack overflow as every other haxe version.
  • f

    full-journalist-82607

    08/31/2022, 11:23 AM
    it has the same overflow but when doing
    lime test neko -debug --connect 6000
    I have this error
  • b

    bright-gpu-74537

    08/31/2022, 2:13 PM
    text input works for me:
  • f

    full-branch-26766

    08/31/2022, 2:16 PM
    hmmm maybe its my setup causing issue, imma try on a blank project
  • f

    full-branch-26766

    08/31/2022, 2:38 PM
    okay found the problem, if the ui is child of an heaps object the fields stop working, just removed the parenting and it works
  • b

    bright-gpu-74537

    08/31/2022, 3:52 PM
    what is the parent instead?
  • b

    bright-gpu-74537

    08/31/2022, 3:52 PM
    sounds like a bug anyway
  • f

    full-branch-26766

    08/31/2022, 3:56 PM
    now its just the default Screen.instance.addComponent so im guessing its parented to s2d
  • b

    bright-gpu-74537

    08/31/2022, 3:58 PM
    interesting... ill check it out... defo sounds like a bug
  • f

    full-branch-26766

    08/31/2022, 4:00 PM
    Copy code
    haxe
     var uiLayer = new h2d.Object(s2d);
     var ui = new MainView();
     Screen.instance.addComponent(ui);
     uiLayer.addChild(ui);
    idk if it helps but here's the said code that caused problem, just removing the uiLayer.addChild fixed it
  • b

    bright-gpu-74537

    08/31/2022, 4:01 PM
    cool - did you have both addComponent and addChild previously?
  • f

    full-branch-26766

    08/31/2022, 4:03 PM
    Yes
  • f

    full-branch-26766

    08/31/2022, 4:03 PM
    And removing the add child make the fields work
  • b

    bright-gpu-74537

    08/31/2022, 4:07 PM
    you should use both anyway
  • b

    bright-gpu-74537

    08/31/2022, 4:07 PM
    what happens if you remove the addComponent, but keep the addChild?
  • f

    full-branch-26766

    08/31/2022, 4:21 PM
    the issue comes back
  • b

    bright-gpu-74537

    08/31/2022, 4:24 PM
    OK, fair enough
  • b

    bright-gpu-74537

    08/31/2022, 4:24 PM
    defo sounds like a bug in haxeui-heaps, but just so you know, you dont need to use addComponent and addChild (in fact, you probably shouldnt)
  • f

    full-branch-26766

    08/31/2022, 4:26 PM
    Wasnt aware thanks!
  • f

    future-iron-61487

    09/01/2022, 12:08 AM
    yoyoyoyo intel 4th gen checking in how do you do fellow kids
  • b

    best-agent-85158

    09/01/2022, 3:48 AM
    When haxeui loads assets in html for haxeui-openfl, does it use lime's Assets class or openfl's Assets class?
  • b

    bright-gpu-74537

    09/01/2022, 6:38 AM
    openfl assets iirc, but is there any difference between openfl / lime here?
  • b

    bright-gpu-74537

    09/01/2022, 8:08 AM
    dang, was going to release haxeui 1.5 this weekend, but seeing has openfl, lime, feathers is release i think ill push back another week, dont want to step on toes 🙂 Gives me more time to add some more stuff i guess, and, whats another week anyway when everyone is using git? 😄
  • b

    best-agent-85158

    09/01/2022, 9:54 AM
    Idk, my ap0 can't be uploaded to my website and I get a bunch of errors from lime asset loading
  • b

    bright-gpu-74537

    09/01/2022, 9:54 AM
    but it runs locally? What errors?
  • b

    best-agent-85158

    09/01/2022, 9:55 AM
    haxe_ValueException
  • b

    best-agent-85158

    09/01/2022, 9:55 AM
    Wait a sec IL lend the error itself
  • b

    bright-gpu-74537

    09/01/2022, 9:55 AM
    sounds like a lime / your server type issue... some obscure CORS error?
  • b

    bright-gpu-74537

    09/01/2022, 9:55 AM
    does it it run locally in a webserver?
1...123712381239...1687Latest