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

    bright-gpu-74537

    06/03/2020, 7:33 AM
    ¯\_(ツ)_/¯
  • c

    clever-oil-61353

    06/03/2020, 7:34 AM
    thats before hitting the button
  • b

    bright-gpu-74537

    06/03/2020, 7:35 AM
    you mean there is an exception that happens, and it recovers?
  • c

    clever-oil-61353

    06/03/2020, 7:35 AM
    this one after
  • c

    clever-oil-61353

    06/03/2020, 7:41 AM
    i scolled up a tad where it was sitting at the end of the first one for this one.
  • c

    clever-oil-61353

    06/03/2020, 7:42 AM
    if windows still does what it did for the longest, it may be seeing these as well but not crashing.
  • c

    clever-oil-61353

    06/03/2020, 7:46 AM
    this one is from the starting of the app... just to get that little bit in there to you.....
  • b

    bright-gpu-74537

    06/03/2020, 7:59 AM
    well, no clue what is the actual cause but a symptom seems to be that layoutGroups ends up as an empty array for some reason
  • c

    clever-oil-61353

    06/03/2020, 8:02 AM
    for now i guess the while (i >= 0) will get guifes moving forward
  • b

    bright-gpu-74537

    06/03/2020, 8:05 AM
    yeah, i guess... will be interesting to see if that hack throws up any other issues later down the line
  • c

    clever-oil-61353

    06/03/2020, 8:05 AM
    i wonder if this is whats tied to that layoutGroups....... // FlxState private var _tilemapGroup:FlxGroup;
  • b

    bright-gpu-74537

    06/03/2020, 8:06 AM
    i guess also, a some point an openfl only project targeting hl will need to be created to reproduce the issue, my guess its that (maybe) just an openfl textfield will repro the issue
  • c

    clever-oil-61353

    06/03/2020, 8:06 AM
    i can create one real quick and try it.
  • b

    bright-gpu-74537

    06/03/2020, 8:15 AM
    sure, if you fancy it... cant hurt 🙂
  • b

    bright-gpu-74537

    06/03/2020, 8:16 AM
    so make sure its an input textfield (that mimics haxeui-openfl) and then with or without text, and with or without a custom font, and call .textWidth on it (it seems thats where the crash originates)
  • b

    bright-gpu-74537

    06/03/2020, 8:17 AM
    Copy code
    openfl.text.TextField.__updateLayout(openfl/text/TextField.hx:2374)
    openfl.text.TextField.get_textWidth(openfl/text/TextField.hx:3038)
  • b

    bright-gpu-74537

    06/03/2020, 8:17 AM
    yeah, calling textWidth is what kills it from the ST
  • c

    clever-oil-61353

    06/03/2020, 8:21 AM
    thats what i'm sending through now
  • c

    clever-oil-61353

    06/03/2020, 8:27 AM
    shaunholt@HoltTechCorp1:~/Downloads/openfltest/SimpleSWFLayout$ lime build hl Error: Could not find haxelib "layout", does it need to be installed? shaunholt@HoltTechCorp1:~/Downloads/openfltest/SimpleSWFLayout$ haxelib install layout Downloading layout-1,2,1.zip... Download complete: 0.25KB in 0.9s (0.2KB/s) Download complete: 40.61KB in 0.2s (149.7KB/s) Installing layout... Current version is now 1.2.1 Done shaunholt@HoltTechCorp1:~/Downloads/openfltest/SimpleSWFLayout$ lime build hl Error: Could not process asset libraries (swf) shaunholt@HoltTechCorp1:~/Downloads/openfltest/SimpleSWFLayout$
  • c

    clever-oil-61353

    06/03/2020, 8:27 AM
    thats from another sample i was doing.... dont know if that might be related.
  • c

    clever-oil-61353

    06/03/2020, 8:29 AM
    nope, apparently that layout lib is something different
  • c

    clever-oil-61353

    06/03/2020, 8:44 AM
    well.... found one demo that compiles to hl but doesnt display anything.
  • c

    clever-oil-61353

    06/03/2020, 8:44 AM
    but doesnt crash
  • c

    clever-oil-61353

    06/03/2020, 8:45 AM
    the strace is interesting tho
  • c

    clever-oil-61353

    06/03/2020, 8:59 AM
    apparently openfl just isnt hl friendly
  • c

    clever-oil-61353

    06/03/2020, 9:07 AM
    some things do ok.... some things not so ok..... after the doc appt i'll mess around some more.
  • b

    bright-gpu-74537

    06/03/2020, 9:27 AM
    nice one... 🙂
  • b

    bright-gpu-74537

    06/03/2020, 9:28 AM
    my dogs epitaph (a modified version of John Lockes epitaph) 🙂
  • b

    bright-gpu-74537

    06/03/2020, 9:28 AM
    just had to pick it up... trekked 1 km with it, it weighs about 30kg... :o I thought it was going be small! But im dumb and so dont turn measurements in "real world" things
  • c

    clever-oil-61353

    06/03/2020, 9:40 AM
    I love it.
1...249250251...1687Latest