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

    bright-gpu-74537

    07/19/2022, 7:33 PM
    so hang on, hxWidgets works, haxeui-hxwidgets doesnt?
  • b

    bright-gpu-74537

    07/19/2022, 7:37 PM
    can you mess around with this file: https://github.com/haxeui/haxeui-hxwidgets/blob/master/haxe/ui/backend/OpenFileDialogImpl.hx see if you can get it work like hxwidgets? Its hard for me to debug since i dont have a linux box
  • b

    bright-gpu-74537

    07/19/2022, 7:50 PM
    ?
  • b

    big-angle-82801

    07/19/2022, 7:50 PM
    cool, i'll have a look, thanks for the help so far!
  • b

    big-angle-82801

    07/19/2022, 7:51 PM
    and yh, hxWidgets does but not haxeui-hxwidgets
  • b

    bright-gpu-74537

    07/19/2022, 7:52 PM
    np - the first thing i would try and do is look at whats passed into FileDialog and see if you can make that match the hxWidgets version (like for example, is
    FileDialogStyle.MULTIPLE
    the culprit?)
  • b

    bright-gpu-74537

    07/19/2022, 7:52 PM
    well, thats good news i guess, at least its not an OS / wx thing, just something haxeui must be doing differently - which is kinda annoying as is all fine here
  • s

    stale-dentist-13660

    07/19/2022, 7:53 PM
    i mean, how do iu's work?
  • b

    bright-gpu-74537

    07/19/2022, 7:54 PM
    i think thats a pretty broad subject to be honest
  • b

    bright-gpu-74537

    07/19/2022, 7:54 PM
    so many different types of UI and so different libs, frameworks, systems, etc...
  • e

    elegant-twilight-61392

    07/19/2022, 7:55 PM
    show button, do something when user click button bam simple explanation
  • b

    big-angle-82801

    07/19/2022, 8:01 PM
    ok, so i just tried putting in some traces and i realise none of them were showing up... and I went back and removed
    -lib haxeui-core
    from the hxwidgets hxml as well... and now it works 🤦‍♂️
  • b

    big-angle-82801

    07/19/2022, 8:02 PM
    so i guess what's actually causing the crash is the replacement dialogue with the "not implemented on this backend" error?
  • b

    bright-gpu-74537

    07/19/2022, 8:02 PM
    hmmmmpf... thats annoying - i also would have expected a messagebox to say something then, ill check out why that didnt happen
  • b

    bright-gpu-74537

    07/19/2022, 8:02 PM
    yeah, maybe...
  • b

    bright-gpu-74537

    07/19/2022, 8:03 PM
    if you copy / paste that messagebox code, does it behave all weird?
  • b

    big-angle-82801

    07/19/2022, 8:03 PM
    the code for that "not implemented" message
  • b

    big-angle-82801

    07/19/2022, 8:03 PM
    ?
  • b

    bright-gpu-74537

    07/19/2022, 8:03 PM
    yeah
  • b

    bright-gpu-74537

    07/19/2022, 8:03 PM
    Copy code
    Dialogs.messageBox("OpenFileDialog has no implementation on this backend", "Open File", MessageBoxType.TYPE_ERROR);
  • b

    big-angle-82801

    07/19/2022, 8:05 PM
    let me give it a go
  • b

    big-angle-82801

    07/19/2022, 8:06 PM
    takes ages to compile 😅
  • b

    big-angle-82801

    07/19/2022, 8:07 PM
    yep, same thing
  • b

    bright-gpu-74537

    07/19/2022, 8:07 PM
    ... interesting
  • b

    bright-gpu-74537

    07/19/2022, 8:07 PM
    do messageboxes work on the hxwidgets sample app?
  • b

    big-angle-82801

    07/19/2022, 8:09 PM
    well all of these work
  • b

    bright-gpu-74537

    07/19/2022, 8:09 PM
    like "open error message dialog" does?
  • b

    big-angle-82801

    07/19/2022, 8:10 PM
    yes
  • b

    big-angle-82801

    07/19/2022, 8:11 PM
    ok wait
  • b

    big-angle-82801

    07/19/2022, 8:11 PM
    so when i compiled the message box thing before i added the
    -lib haxeui-core
    back for some reason
1...117511761177...1687Latest