Several newb questions (state, bind, win on macOS)

I really hope you’ll be able to fix (the error or my stupidity)
This one locks my current project :frowning:

I really cant seem to follow what #10 is trying to do… I there any chance you could try and put the issue into a totally separate project - it seems to have components over components (wxWidgets doesnt like overlapping components) and seems to do some other things that im just not understanding - or even understanding what you are trying to do :slight_smile:

Ian

PS: you might want to join the #haxe discourse too (https://discord.gg/c5QRwm) - will be easier to chat there - up to you though of course. :slight_smile:

are you trying to do something like this: https://www.dropbox.com/s/dzq6rvjo1v00ktt/demo.zip?dl=0

?

yes, it seems you got it.

I want change current view by a new one, not using tabs
intro -> create -> edit -> end -> intro

But you added a theContainer, why is it needed ? it’s a view in a box into a vbox…?

EDIT : to be sure, I did the same and…crashes :frowning: . so adding another layer didn’t fix it

Does the sample i attached crash also? Can you try and make that sample crash in the same manner? (with minimal code).

The reason i used theContainer is because that is a child of the main view, so i can add buttons and other controls in the main view.

Thanks again!

Hi,
The sample doesn’t crash : not enough component on screen…
The sample updated , which crash, is available here
https://filebin.net/odshbn5ofmfisgc3

remove some components on second.xml (42 in my case) and it will no longer crash :exploding_head:

can you pull latest and try again, i fix a few issues that i think might have fixed it (i cant reproduce the crash anymore)

I confirm it seems to be fixed.
I updated my sample app with “Fixed” state

Bad news : it still crashes but only when a listView is on screen

hmmmm… any chance of another minimal sample please? This should all be fixed at this point (unless this is a different crash)

unfortunately no…
my haxeui-bugs apps crashes, but not my main app
I don’t understand why…I don’t even register event :frowning:
could it be from the datalist ?

Hmmm, this is super weird. And all this was working pre haxe 4.1.1?

no
It was crashing with 4.0 also
Sorry, I forgot to retest it after your initial fix…
My main project was working, I didn’t think my haxui-bug app will break :frowning:

OK, this seems weird, if you do manage to isolate it would be useful.