Are Anvil Designs broken?

Are Anvil Designs broken? I am just wondering because I get this absurd-looking forms when switching from Classic to New Designs and vice-versa.

The found_panel is supposed to be a RepeatingPanel. It doesn’t seem to look that way. And, I cannot link it with the item template that I want to be displayed in the found_panel.

Perhaps this bug has been fixed and you are seeing something else, but the screenshot reminds me of a bug that sometimes shows up when working with multiple Anvil ide sessions open in multiple tabs: the ide seems to confuse the size of a panel with the size of the same panel on another session. When that happens, the scroll bar of a tab either scrolls only partially or doesn’t scroll at all, and the content of the form is only partially visible.

The workaround is to resize the window and all the panels in the ide, the properties panel, the git history panel, the diff panel, etc. If that doesn’t work, close all the Anvil ide tabs, then open one, then resize the window and all the panels.

Thank you for the tips. I will follow your suggestions.

Hi @koollucian.2012,

That doesn’t look like anything I’ve seen before! Can you provide a Clone link of an app that shows this weirdness when switching between designer versions?

I will try to create another program using a modified table so that I can pull out anything that my friends wouldn’t want me to display and hope that I can re-create the problem. It happened several times already so I wouldn’t be surprised if I can.

The app is actually a simple app that our association would like to use for our own activities.

Will post the app link here once done.

Thanks.

Hi.

Here’s a clone link to the app that I have noticed the design problems (eg. absurd display like the one I showed).

link: Anvil | Login

I noticed some other problems too:
submit_clicked doesn’t work now;
many item templates building up…can some superfluous ones be deleted?
sometimes, can’t set the item templates so i go back to the classic design.

I am not sure if these aberrations happen due to my ignorance. I just want to report here in case they are legit problems.

Thank you.

Here’s another problem I found. While working using the New Designer, I tried to change the name of the RepeatingPanel using the floating edidt window. When I clicked the edit (pencil), the whole screen just turned white and froze. I couldn’t do anything. Worse still, the underlying codes for the button on top of the panel also disappeared. From there, switching to Classis didn’t solve the problem. Here’s the screenshot:

the pencil icon here isn’t actually to edit the name,

When you click it, you’re now editing the repeating panel’s item template
If you look at the breadcrumb in your screen shot it shows that you are currently editing a nested form.

I agree that this is confusing and we’ll add it to our list.

1 Like

I would like to add some new aberrations that I ran across with Anvil Design but unfortunately, I cannot share an app link for others to check them. I just want to poll users if they have come across them too.

  1. Sometimes, when I am editing a text box, the Property panel disappears. The only way I can get it back is click a button in the same form. Doing that, the Property panel comes back.

  2. I have a form that shows a label and links at the top when the app runs but does not show when I am editing the same form. When I check the Component panel, the label is not listed. It seems like a ‘phantom’ label.

As I said, I cannot share the link to a near-production-ready app here but would appreciate if some in this forum has met the same problem and what solutions worked.

Thank you.

This sort of thing happens to me when my code adds components at run-time. The “phantom” components don’t exist until the app is running.