https://linen.dev logo
Join DiscordCommunities
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    05/17/2023, 10:00 PM
    literally every one of those errors mentions "backend"
  • h

    happy-agent-4114

    05/17/2023, 10:00 PM
    including the error that happens in
    Backend.hx
    ...
  • b

    bright-gpu-74537

    05/17/2023, 10:02 PM
    its not about the average use case, its about reading errors (not you, just in general)... my first instinct was "you dont have a backend"... the turned into "language server" (which was a red herring)
  • b

    bright-gpu-74537

    05/17/2023, 10:02 PM
    the error(s) are totally valid... you didnt have a backend
  • b

    bright-gpu-74537

    05/17/2023, 10:03 PM
    i dont see how defaulting to "haxeui-blank" makes this better... it makes this specific case better, but causes (imo) much worse problems in the long run where a compiler error is perfectly valid
  • p

    powerful-morning-89

    05/17/2023, 10:06 PM
    They're valid errors, but I would still argue that they're not clear errors. When did I suggest that defaulting to haxeui-blank would be better? Anyway that's not implementable with haxeui's current architecture. When I mentioned Heaps that was just to show that expecting a default dummy backend is not unreasonable and that some projects do that. Anyway, it's past midnight, I need to go to sleep.
  • b

    bright-gpu-74537

    05/17/2023, 10:08 PM
    im not arguing against heaps, or whatever, i could, in haxeui macros, once its found a backend write a "1" to the disk and read that at some point and issue an error if not found.. its all overkill... the error was clear, the solution was (fairly) obvious
  • b

    bright-gpu-74537

    05/17/2023, 10:09 PM
    ... ... ... include a backend...
  • b

    bright-gpu-74537

    05/17/2023, 10:09 PM
    ¯\_(ツ)_/¯
  • b

    bright-gpu-74537

    05/17/2023, 10:11 PM
    > that's not implementable with haxeui's current architecture i could certainly include haxeui-blank in haxeui-core, but i havent intentionally because then just including haxeui-core "will work" but show nothing
  • b

    bright-gpu-74537

    05/17/2023, 10:12 PM
    i could also trace "you are using a blank backend, retry", but this is also crazy when the compiler error itself is exactly what i want
  • n

    nutritious-father-64388

    05/18/2023, 2:00 AM
    what is the minimum wxWidgets version 'officially' supported? I'm trying to get a sample project to compile (the one generated by
    haxeui-core create
    ). I'm on git haxeui-core, hxwidgets and haxeui-hxwidgets. wxWidgets is latest stable (3.2.2). I'm on Ubuntu 22.04, and get the following error upon running `haxe hxwidgets.hxml`:
    Copy code
    Link: Main
    /usr/bin/ld: obj/linux64/edf3cd3c_ArrayString.o: in function `hx::widgets::ArrayString_obj::item(int)':
    ArrayString.cpp:(.text+0x117e): undefined reference to `wxMBConv::~wxMBConv()'
    any ideas? edit: using git hxcpp seems to have done the trick.
  • b

    bright-gpu-74537

    05/18/2023, 6:03 AM
    good to know... i should probably upgrade locally to 3.2.2, i think im actually quite a bit behind that on windows
  • g

    gray-state-67732

    05/18/2023, 7:28 AM
    Maybe you could add a onTypeNotFound callback for uh BackendImpl I suppose, and trigger a nice error there?
  • g

    gray-state-67732

    05/18/2023, 7:29 AM
    (about yesterday issue)
  • b

    bright-gpu-74537

    05/18/2023, 7:29 AM
    i mean, that probably sounds like the cleanest solution, but i still maintain that the original error is perfectly fine
  • b

    bright-gpu-74537

    05/18/2023, 7:30 AM
    ill probably add that just to be done with all this, but it seems unneeded when the "cant find BackendImpl" is pretty clear...
  • b

    bright-gpu-74537

    05/18/2023, 7:30 AM
    ¯\_(ツ)_/¯
  • b

    bright-gpu-74537

    05/18/2023, 7:37 AM
    ... ... i think what ill do is use the onTypeNotFound hook and spit out the exact same errors as above 😄
  • h

    happy-agent-4114

    05/18/2023, 3:50 PM
    ...why does this not work
  • h

    happy-agent-4114

    05/18/2023, 3:50 PM
    ah fuck I forgot to put the image on
  • h

    happy-agent-4114

    05/18/2023, 3:50 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1108783775594324111/image.png▾

  • h

    happy-agent-4114

    05/18/2023, 3:55 PM
    the background applies but the repeat does nothing
  • f

    full-journalist-82607

    05/18/2023, 3:55 PM
    Oh just noticed how MouseOut is so uninstinctive http://haxeui.org/builder/?e84afa75 . I thought there was a bug .If you go inside a child box, it "mousesout" the parent box and it seems to be the correct behaviour in html5 .... 😵‍💫 ( https://javascript.info/mousemove-mouseover-mouseout-mouseenter-mouseleave) But there still is a bug : if you go from the inside box to the parent box. It "mousesout" both. Maybe some bubbling that shouldn't be
  • e

    early-butcher-76809

    05/18/2023, 4:31 PM
    Some backends may not be feature complete. This one has just been recently added to Heaps, for example
  • e

    early-butcher-76809

    05/18/2023, 4:32 PM
    Gotta check in the source code. Probably a StyleHelper.hx file
  • e

    early-butcher-76809

    05/18/2023, 4:32 PM
    Then search for backgroundImageRepeat
  • e

    early-butcher-76809

    05/18/2023, 4:33 PM
    To see if it's used
  • f

    full-journalist-82607

    05/18/2023, 4:33 PM
    What backend do you use ? ( sorry didn't see your message earlier, even though I posted just after ^^)
  • h

    happy-agent-4114

    05/18/2023, 4:38 PM
    HTML5
1...167516761677...1687Latest