2020B causing panels to vanish in App Designer, potential bug?
Mostrar comentarios más antiguos
I have an app designer project which was first created in 2019a.
It has been moved into 2019b and later on to 2020a without issues.
Now, when I open the 2020a version in 2020b, it gives me the standard message saying it succesfully converted it to 2020b.

Above is what it looks like after opening, the automatic convertion, and saving the document.
If I now reopen it, the tab group in "IMAGE PARAMETERS" and the three images in the images tab group disappear.

They haven't just moved somewhere, they have vanished from the component browser too.
I am honestly a bit perplexed as to what could be causing this, if not a bug.
I have tried moving the sections away from their location before saving, or renaming the components but no such luck.
It seems it may be related to bug 2066232: Placing a table UI component in a grid layout manager causes App Designer .mlapp file corruption.
As the three images are snapped to a grid layout, and the tab group in "IMAGE PARAMETERS" also uses grid layouts within each tab.
Strangely though, most of the panels/tab groups/etc. use grid layouts, and only the two mentioned previously are affected.
Does anybody have any suggested workarounds, besides the obvious downgrading to 2020a?
Thanks!
8 comentarios
Mario Malic
el 24 de Sept. de 2020
Editada: Mario Malic
el 24 de Sept. de 2020
I do not know how the process goes when updating between versions. You open the app, it converts, saves and closes the app?
This might be a silly guess but worth a try. TabGroup is clipped a little bit on the right side, try to reduce its size so it fits the Panel before conversion. Also, try playing with the Parent property of the TabGroup, maybe set it to main window and see if it still remains after conversion.
Scott
el 24 de Sept. de 2020
Mario Malic
el 24 de Sept. de 2020
Editada: Mario Malic
el 24 de Sept. de 2020
You can try making a test app with simple Panel with Grid Layout and a Tab Group and check if conversion is related to your specific settings or it's a bug.
Also, from your first picture, the Check Box at Projects panel and Ymax are missing. If they are in grid layout as well, shouldn't all of them be missing?
Scott
el 24 de Sept. de 2020
Mario Malic
el 24 de Sept. de 2020
Editada: Mario Malic
el 24 de Sept. de 2020
Well, I would compare properties of components that remain and are gone after conversion, maybe there's something going on there. However, Parent/Child properties should be correct, since it's not possible place a component outside of grid layout.
I had a similar issue going from 2019a to 2018b. My image panels disappeared. Turns out, 2018b does not contain the ability put images in the app. So, everytime someone would open my app using an older MATLAB, it would remove them, and they are gone forever (until I remade them, multiple times).
Maybe it is something that 2020b does not support anymore?
Scott
el 24 de Sept. de 2020
Marco Frieslaar
el 4 de Mayo de 2021
I am seeing similar problems in 2021a.
My graphs and images keep being deleted and I have to painstakingly put them back in all their detail. But I have also experienced a problem where it won't let me drag and drop a UIAxes back in again.
Also, when I make changes to a component in 'Inspector', there is a long delay before the change materialises on the component and sometimes it doesn't work at all - or, it will be mysteriously deleted a while later.
This version is not good for 'appdesigner' and is just creating more work and so I have gone back to struggling with the previous release. 2021a is a disappointing effort from my viewpoint. I haven't got time for all this faffing about with bugs and major MATLAB foibles.
Respuestas (1)
Cris LaPierre
el 7 de Dic. de 2020
0 votos
If you haven't yet done so, contact Customer Support
Categorías
Más información sobre Installing Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!