Wasting my time again? I just tried to create a simple web-form for replacing the API driven stuff from my homepage. The App works. Saving. Next morning: Nothing works any more, all pages are looking strange and can not be used. My tolerance level went below zero.
After a time I found the reason: Saving. Saving and loading destroys the tab order, it seems to go from outside to inside and re-order everything. Here my questions:
Is this a normal Xojo behaviour?
Is it a bug which I should (try to) post?
Is there any known “issue” open already?
Is there any acceptable way to work around?
I did not found any properties (for order or z-order), only some JavaScript snippets to play around with. If I would like to play JS I would not use Xojo. So here is my video:
It looks like your fields/controls are “unparented” from the rectangle and when you save as binary and load the project again, the fields/controls are now childs of the webrectangle.
I remember creating a bug report about this: #60161
It looks like is not assigned to someone, I’m not sure if @Ricardo_Cruz needs to work on this or someone else as this may be related to the IDE and not directly to Web.
Please open an Issue, or comment on Alberto’s ticket. It definitely looks like a bug.
During the bug bash I’ve seen a few issues happening only while working with binary projects. Have you tried to save them in a different format by any chance?
If you move controls above the rectangle, they will be parented, the controls will become children of the rectangle. What isn’t expected is saving them “unparented” and seeing them “parented” again, when loading the project.
Nope. I was too early. It is NOT fixed in 2022R3 - it only works if you save as “xojo_project”. If you use the binary save it still changes the order and re-ordering does not work across the levels. Albertos solution is the way to go.