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

    bumpy-engineer-49082

    02/21/2023, 9:14 AM
    But I haven't initialized any tools in main.hx
  • b

    bright-gpu-74537

    02/21/2023, 9:16 AM
    kinc also seems fine (non browser)
  • b

    bright-gpu-74537

    02/21/2023, 9:21 AM
    your CodeEditorWindow.hx also seems fine
  • b

    bright-gpu-74537

    02/21/2023, 9:21 AM
    but i have just extracted it from your project
  • b

    bright-gpu-74537

    02/21/2023, 9:27 AM
    i would take a step back... start a new "test" project, and see if you can get a basic window (or whatever) working... then start adding bits back in... im fairly convinced there is something in your project that is breaking things, but i dont really have time to debug it
  • f

    full-journalist-82607

    02/21/2023, 9:34 AM
    @bumpy-engineer-49082 and tell us what was your bug. Your bug is actually quite cool ^^. Could be a feature 😉
  • b

    bumpy-engineer-49082

    02/21/2023, 9:34 AM
    Um, this window wasn't tested.
  • b

    bumpy-engineer-49082

    02/21/2023, 9:35 AM
    I used only Text editor and utility window.
  • b

    bumpy-engineer-49082

    02/21/2023, 9:36 AM
    I'll try.
  • b

    bright-gpu-74537

    02/21/2023, 9:40 AM
    well, i do get something odd with the utility window
  • b

    bright-gpu-74537

    02/21/2023, 9:41 AM
    thats the output from your test app though (i havent built it), ill extract that and see if thats the same in my test app
  • b

    bright-gpu-74537

    02/21/2023, 9:47 AM
    all seems fine when i extract it
  • f

    full-journalist-82607

    02/21/2023, 10:28 AM
    humm, "" doesn't hide the textarea in hxwidgets
  • b

    bright-gpu-74537

    02/21/2023, 10:28 AM
    seems odd... i dont think anything special is happening there
  • b

    bright-gpu-74537

    02/21/2023, 10:29 AM
    @bumpy-engineer-49082 - ive found the issue! For some reason on haxeui-kha, this line:
    WindowManager.instance.container = windowContainer
    breaks things... no idea why... feel like it breaks the batching in kha... ... or something, for now, just remove that line until i can come up with a fix
  • f

    full-journalist-82607

    02/21/2023, 10:29 AM
    you can hide it if you do it show();hide(); them like 100ms after, but you see the artefacts visually so not agood work around
  • b

    bright-gpu-74537

    02/21/2023, 10:32 AM
    so strange
  • b

    bright-gpu-74537

    02/21/2023, 10:33 AM
    its like it fails to hide it... wonder if this is a window quirk
  • b

    bright-gpu-74537

    02/21/2023, 10:37 AM
    ... doesnt happen with textfield though
  • f

    full-journalist-82607

    02/21/2023, 10:39 AM
    i had this bug in a complex @media css, took a while to understand it was just the hide. didn't even fathom it . I have many elements that I show/hide and it was only that causes problem
  • b

    bright-gpu-74537

    02/21/2023, 10:40 AM
    yeah, im wondering if its a windows / wx bug
  • b

    bright-gpu-74537

    02/21/2023, 10:40 AM
    i mean, there is nothing special happening here
  • b

    bright-gpu-74537

    02/21/2023, 10:44 AM
    its this
    <behaviour id="wrap" class="haxe.ui.backend.hxwidgets.behaviours.TextCtrlWordWrap" />
  • b

    bright-gpu-74537

    02/21/2023, 10:45 AM
    and i can see why, that destroys and recreates the window
  • b

    bright-gpu-74537

    02/21/2023, 10:45 AM
    but it doesnt honour the visibility
  • f

    full-journalist-82607

    02/21/2023, 10:59 AM
    oh .. I feel the fix coming 🫣
  • b

    bright-gpu-74537

    02/21/2023, 11:03 AM
    yeah, fix is easy.. but somehow ive now borked my local install... all textareas are showing up as textfields... even if i revert everything... some type of cache is kicking in
  • f

    full-journalist-82607

    02/21/2023, 11:05 AM
    oh weird, even if you don't use vscode to compile ?
  • b

    bright-gpu-74537

    02/21/2023, 11:06 AM
    yup, outside of vscode, delete hxcpp cache, everything
  • b

    bright-gpu-74537

    02/21/2023, 11:06 AM
    this is a textarea... ... apparently
1...153115321533...1687Latest